Skip to content

Commit

Permalink
shlex docs: remove outdated note (#106463)
Browse files Browse the repository at this point in the history
As the versionchanged notice says, this note is no longer true on 3.12+.
  • Loading branch information
JelleZijlstra committed Jul 5, 2023
1 parent 70e2a42 commit c16ea94
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Doc/library/shlex.rst
Expand Up @@ -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`.
Expand Down

0 comments on commit c16ea94

Please sign in to comment.