mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
[3.12] shlex docs: remove outdated note (GH-106463) (#106466)
shlex docs: remove outdated note (GH-106463)
As the versionchanged notice says, this note is no longer true on 3.12+.
(cherry picked from commit c16ea94abc
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
b72601e7e5
commit
a49a29f22b
1 changed files with 0 additions and 6 deletions
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue