Skip to content

Commit

Permalink
REmove some !s.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Jul 21, 2023
1 parent 9079a34 commit 1f10607
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4650,7 +4650,7 @@ written in Python, such as a mail server's external command delivery program.
:data:`WNOHANG` and :data:`WNOWAIT` are additional optional flags.

The return value is an object representing the data contained in the
:c:type:`!siginfo_t` structure with the following attributes:
:c:type:`siginfo_t` structure with the following attributes:

* :attr:`!si_pid` (process ID)
* :attr:`!si_uid` (real user ID of the child)
Expand Down
6 changes: 3 additions & 3 deletions Doc/library/venv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ running from a virtual environment.

A virtual environment may be "activated" using a script in its binary directory
(``bin`` on POSIX; ``Scripts`` on Windows).
This will prepend that directory to your :envvar:`!PATH`, so that running
This will prepend that directory to your :envvar:`PATH`, so that running
:program:`python` will invoke the environment's Python interpreter
and you can run installed scripts without having to use their full path.
The invocation of the activation script is platform-specific
Expand Down Expand Up @@ -100,10 +100,10 @@ In order to achieve this, scripts installed into virtual environments have
a "shebang" line which points to the environment's Python interpreter,
i.e. :samp:`#!/{<path-to-venv>}/bin/python`.
This means that the script will run with that interpreter regardless of the
value of :envvar:`!PATH`. On Windows, "shebang" line processing is supported if
value of :envvar:`PATH`. On Windows, "shebang" line processing is supported if
you have the :ref:`launcher` installed. Thus, double-clicking an installed
script in a Windows Explorer window should run it with the correct interpreter
without the environment needing to be activated or on the :envvar:`!PATH`.
without the environment needing to be activated or on the :envvar:`PATH`.

When a virtual environment has been activated, the :envvar:`!VIRTUAL_ENV`
environment variable is set to the path of the environment.
Expand Down
6 changes: 3 additions & 3 deletions Doc/library/webbrowser.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ will be used if graphical browsers are not available or an X11 display isn't
available. If text-mode browsers are used, the calling process will block until
the user exits the browser.

If the environment variable :envvar:`!BROWSER` exists, it is interpreted as the
If the environment variable :envvar:`BROWSER` exists, it is interpreted as the
:data:`os.pathsep`-separated list of browsers to try ahead of the platform
defaults. When the value of a list part contains the string ``%s``, then it is
interpreted as a literal browser command line to be used with the argument URL
Expand Down Expand Up @@ -97,7 +97,7 @@ The following functions are defined:

Setting *preferred* to ``True`` makes this browser a preferred result for
a :func:`get` call with no argument. Otherwise, this entry point is only
useful if you plan to either set the :envvar:`!BROWSER` variable or call
useful if you plan to either set the :envvar:`BROWSER` variable or call
:func:`get` with a nonempty argument matching the name of a handler you
declare.

Expand Down Expand Up @@ -224,4 +224,4 @@ module-level convenience functions:
.. rubric:: Footnotes

.. [1] Executables named here without a full path will be searched in the
directories given in the :envvar:`!PATH` environment variable.
directories given in the :envvar:`PATH` environment variable.
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1769,7 +1769,7 @@ Porting to Python 3.12
for example).

* Add support of more formatting options (left aligning, octals, uppercase
hexadecimals, ``intmax_t``, ``ptrdiff_t``, ``wchar_t`` C
hexadecimals, :c:type:`intmax_t`, :c:type:`ptrdiff_t`, :c:type:`wchar_t` C
strings, variable width and precision) in :c:func:`PyUnicode_FromFormat` and
:c:func:`PyUnicode_FromFormatV`.
(Contributed by Serhiy Storchaka in :gh:`98836`.)
Expand Down

0 comments on commit 1f10607

Please sign in to comment.