From: Jelle Zijlstra Date: Wed, 5 Jul 2023 20:38:53 +0000 (-0700) Subject: shlex docs: remove outdated note (#106463) X-Git-Tag: v3.13.0a1~1506 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c16ea94abc73c0098b484f7e2ec23bfd9c36b67c;p=thirdparty%2FPython%2Fcpython.git shlex docs: remove outdated note (#106463) As the versionchanged notice says, this note is no longer true on 3.12+. --- diff --git a/Doc/library/shlex.rst b/Doc/library/shlex.rst index 0bad51833aae..f94833ad5331 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`.