Skip to content

Commit c16ea94

Browse files
shlex docs: remove outdated note (python#106463)
As the versionchanged notice says, this note is no longer true on 3.12+.
1 parent 70e2a42 commit c16ea94

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Doc/library/shlex.rst

-6
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ The :mod:`shlex` module defines the following functions:
3030
in POSIX mode by default, but uses non-POSIX mode if the *posix* argument is
3131
false.
3232

33-
.. note::
34-
35-
Since the :func:`split` function instantiates a :class:`~shlex.shlex`
36-
instance, passing ``None`` for *s* will read the string to split from
37-
standard input.
38-
3933
.. versionchanged:: 3.12
4034
Passing ``None`` for *s* argument now raises an exception, rather than
4135
reading :data:`sys.stdin`.

0 commit comments

Comments
 (0)