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:
parent
70e2a42647
commit
c16ea94abc
@ -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
|
in POSIX mode by default, but uses non-POSIX mode if the *posix* argument is
|
||||||
false.
|
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
|
.. versionchanged:: 3.12
|
||||||
Passing ``None`` for *s* argument now raises an exception, rather than
|
Passing ``None`` for *s* argument now raises an exception, rather than
|
||||||
reading :data:`sys.stdin`.
|
reading :data:`sys.stdin`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user