shlex docs: remove outdated note (#106463)

As the versionchanged notice says, this note is no longer true on 3.12+.
This commit is contained in:
Jelle Zijlstra 2023-07-05 13:38:53 -07:00 committed by GitHub
parent 70e2a42647
commit c16ea94abc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View 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`.