summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2022-05-10 05:47:36 (GMT)
committerGitHub <noreply@github.com>2022-05-10 05:47:36 (GMT)
commit6823ba4a9ee1a88102e835c5a278904f35588675 (patch)
tree3d2bb1464715190dabfa14e1c0f21f590a849965 /Doc/library/unittest.mock.rst
parenta0a825c38a0c2ceec024a276f1f527c93ba57af2 (diff)
downloadcpython-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.rst2
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``.