Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-101100: Fix sphinx warnings inlibrary/asyncio-subprocess.rst#130994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kumaraditya303 merged 1 commit intopython:mainfromkoyuki7w:doc-fix-5
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-101100: Fix sphinx warnings inlibrary/asyncio-subprocess.rst
  • Loading branch information
@koyuki7w
koyuki7w committedMar 9, 2025
commit37bc4687f765f9f3621e2ba992bacb775895dca5
20 changes: 10 additions & 10 deletionsDoc/library/asyncio-subprocess.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -68,7 +68,7 @@ Creating Subprocesses
Create a subprocess.

The *limit* argument sets the buffer limit for :class:`StreamReader`
wrappers for :attr:`Process.stdout` and :attr:`Process.stderr`
wrappers for :attr:`~asyncio.subprocess.Process.stdout` and :attr:`~asyncio.subprocess.Process.stderr`
(if :const:`subprocess.PIPE` is passed to *stdout* and *stderr* arguments).

Return a :class:`~asyncio.subprocess.Process` instance.
Expand All@@ -87,7 +87,7 @@ Creating Subprocesses
Run the *cmd* shell command.

The *limit* argument sets the buffer limit for :class:`StreamReader`
wrappers for :attr:`Process.stdout` and :attr:`Process.stderr`
wrappers for :attr:`~asyncio.subprocess.Process.stdout` and :attr:`~asyncio.subprocess.Process.stderr`
(if :const:`subprocess.PIPE` is passed to *stdout* and *stderr* arguments).

Return a :class:`~asyncio.subprocess.Process` instance.
Expand DownExpand Up@@ -132,12 +132,12 @@ Constants

If *PIPE* is passed to *stdin* argument, the
:attr:`Process.stdin <asyncio.subprocess.Process.stdin>` attribute
will point to a :class:`StreamWriter` instance.
will point to a :class:`~asyncio.StreamWriter` instance.

If *PIPE* is passed to *stdout* or *stderr* arguments, the
:attr:`Process.stdout <asyncio.subprocess.Process.stdout>` and
:attr:`Process.stderr <asyncio.subprocess.Process.stderr>`
attributes will point to :class:`StreamReader` instances.
attributes will point to :class:`~asyncio.StreamReader` instances.

.. data:: asyncio.subprocess.STDOUT
:module:
Expand DownExpand Up@@ -165,7 +165,7 @@ their completion.
:module:

An object that wraps OS processes created by the
:func:`create_subprocess_exec` and :func:`create_subprocess_shell`
:func:`~asyncio.create_subprocess_exec` and :func:`~asyncio.create_subprocess_shell`
functions.

This class is designed to have a similar API to the
Expand DownExpand Up@@ -263,24 +263,24 @@ their completion.

Kill the child process.

On POSIX systems this method sends :py:data:`SIGKILL` to the child
On POSIX systems this method sends :py:data:`~signal.SIGKILL` to the child
process.

On Windows this method is an alias for :meth:`terminate`.

.. attribute:: stdin

Standard input stream (:class:`StreamWriter`) or ``None``
Standard input stream (:class:`~asyncio.StreamWriter`) or ``None``
if the process was created with ``stdin=None``.

.. attribute:: stdout

Standard output stream (:class:`StreamReader`) or ``None``
Standard output stream (:class:`~asyncio.StreamReader`) or ``None``
if the process was created with ``stdout=None``.

.. attribute:: stderr

Standard error stream (:class:`StreamReader`) or ``None``
Standard error stream (:class:`~asyncio.StreamReader`) or ``None``
if the process was created with ``stderr=None``.

.. warning::
Expand All@@ -296,7 +296,7 @@ their completion.

Process identification number (PID).

Note that for processes created by the :func:`create_subprocess_shell`
Note that for processes created by the :func:`~asyncio.create_subprocess_shell`
function, this attribute is the PID of the spawned shell.

.. attribute:: returncode
Expand Down
1 change: 0 additions & 1 deletionDoc/tools/.nitignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,6 @@ Doc/c-api/typeobj.rst
Doc/extending/extending.rst
Doc/library/ast.rst
Doc/library/asyncio-extending.rst
Doc/library/asyncio-subprocess.rst
Doc/library/decimal.rst
Doc/library/email.charset.rst
Doc/library/email.compat32-message.rst
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp