Skip to content

Commit 7cc99a5

Browse files
authored
pythongh-101100: Fix sphinx warnings in library/asyncio-subprocess.rst (python#130994)
1 parent 98fa4a4 commit 7cc99a5

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

Doc/library/asyncio-subprocess.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Creating Subprocesses
6868
Create a subprocess.
6969

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

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

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

9393
Return a :class:`~asyncio.subprocess.Process` instance.
@@ -132,12 +132,12 @@ Constants
132132

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

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

142142
.. data:: asyncio.subprocess.STDOUT
143143
:module:
@@ -165,7 +165,7 @@ their completion.
165165
:module:
166166

167167
An object that wraps OS processes created by the
168-
:func:`create_subprocess_exec` and :func:`create_subprocess_shell`
168+
:func:`~asyncio.create_subprocess_exec` and :func:`~asyncio.create_subprocess_shell`
169169
functions.
170170

171171
This class is designed to have a similar API to the
@@ -263,24 +263,24 @@ their completion.
263263

264264
Kill the child process.
265265

266-
On POSIX systems this method sends :py:data:`SIGKILL` to the child
266+
On POSIX systems this method sends :py:data:`~signal.SIGKILL` to the child
267267
process.
268268

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

271271
.. attribute:: stdin
272272

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

276276
.. attribute:: stdout
277277

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

281281
.. attribute:: stderr
282282

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

286286
.. warning::
@@ -296,7 +296,7 @@ their completion.
296296

297297
Process identification number (PID).
298298

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

302302
.. attribute:: returncode

Doc/tools/.nitignore

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Doc/c-api/typeobj.rst
1414
Doc/extending/extending.rst
1515
Doc/library/ast.rst
1616
Doc/library/asyncio-extending.rst
17-
Doc/library/asyncio-subprocess.rst
1817
Doc/library/decimal.rst
1918
Doc/library/email.charset.rst
2019
Doc/library/email.compat32-message.rst

0 commit comments

Comments
 (0)