]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
shlex docs: remove outdated note (#106463)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Wed, 5 Jul 2023 20:38:53 +0000 (13:38 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Jul 2023 20:38:53 +0000 (13:38 -0700)
As the versionchanged notice says, this note is no longer true on 3.12+.

Doc/library/shlex.rst

index 0bad51833aae131f09c5a60f114b5c891d27653f..f94833ad5331a94a14307bec39e96571cf4f7aae 100644 (file)
@@ -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`.