diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2022-05-10 05:47:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 05:47:36 (GMT) |
commit | 6823ba4a9ee1a88102e835c5a278904f35588675 (patch) | |
tree | 3d2bb1464715190dabfa14e1c0f21f590a849965 /Doc/library/unittest.mock.rst | |
parent | a0a825c38a0c2ceec024a276f1f527c93ba57af2 (diff) | |
download | cpython-6823ba4a9ee1a88102e835c5a278904f35588675.zip cpython-6823ba4a9ee1a88102e835c5a278904f35588675.tar.gz cpython-6823ba4a9ee1a88102e835c5a278904f35588675.tar.bz2 |
gh-92417: `unittest.mock` docs: remove references to Python <2.6 (GH-92539)
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r-- | Doc/library/unittest.mock.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index a3700ac..acc0d67 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -2381,7 +2381,7 @@ FILTER_DIR .. data:: FILTER_DIR :data:`FILTER_DIR` is a module level variable that controls the way mock objects -respond to :func:`dir` (only for Python 2.6 or more recent). The default is ``True``, +respond to :func:`dir`. The default is ``True``, which uses the filtering described below, to only show useful members. If you dislike this filtering, or need to switch it off for diagnostic purposes, then set ``mock.FILTER_DIR = False``. |