From e5e35fa00f49c2c5a54daec826aa56f600df54b3 Mon Sep 17 00:00:00 2001 From: gousaiyang Date: Thu, 8 Oct 2020 16:06:03 -0700 Subject: [PATCH] Add versionchanged directives to glob.iglob documentation --- Doc/library/glob.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Doc/library/glob.rst b/Doc/library/glob.rst index 3fdba6937c1..199c7ed436c 100644 --- a/Doc/library/glob.rst +++ b/Doc/library/glob.rst @@ -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)