From c16ea94abc73c0098b484f7e2ec23bfd9c36b67c Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Wed, 5 Jul 2023 13:38:53 -0700 Subject: [PATCH] shlex docs: remove outdated note (#106463) As the versionchanged notice says, this note is no longer true on 3.12+. --- Doc/library/shlex.rst | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst index 0bad51833aa..f94833ad533 100644 --- a/Doc/library/shlex.rst +++ b/Doc/library/shlex.rst @@ -30,12 +30,6 @@ The :mod:`shlex` module defines the following functions: in POSIX mode by default, but uses non-POSIX mode if the *posix* argument is false. - .. note:: - - Since the :func:`split` function instantiates a :class:`~shlex.shlex` - instance, passing ``None`` for *s* will read the string to split from - standard input. - .. versionchanged:: 3.12 Passing ``None`` for *s* argument now raises an exception, rather than reading :data:`sys.stdin`.