Add versionchanged directives to glob.iglob documentation

This commit is contained in:
gousaiyang 2020-10-08 16:06:03 -07:00
parent 77f0a23e7a
commit e5e35fa00f
1 changed files with 10 additions and 0 deletions

View File

@ -84,6 +84,16 @@ For example, ``'[?]'`` matches the character ``'?'``.
.. audit-event:: glob.glob pathname,recursive glob.iglob
.. note::
Using the "``**``" pattern in large directory trees may consume
an inordinate amount of time.
.. versionchanged:: 3.5
Support for recursive globs using "``**``".
.. versionchanged:: 3.10
Added the *root_dir* and *dir_fd* parameters.
.. function:: escape(pathname)