Skip to content

Commit

Permalink
bpo-46879: Fix incorrect sphinx object names in doc (GH-31615) (GH-92976
Browse files Browse the repository at this point in the history
)

(cherry picked from commit 2cdd57f)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Martin Fischer <martin@push-f.com>
  • Loading branch information
3 people committed May 19, 2022
1 parent 9f7cdb2 commit a43f4e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Doc/library/asyncio-subprocess.rst
Expand Up @@ -127,6 +127,7 @@ Constants
=========

.. data:: asyncio.subprocess.PIPE
:module:

Can be passed to the *stdin*, *stdout* or *stderr* parameters.

Expand All @@ -140,11 +141,13 @@ Constants
attributes will point to :class:`StreamReader` instances.

.. data:: asyncio.subprocess.STDOUT
:module:

Special value that can be used as the *stderr* argument and indicates
that standard error should be redirected into standard output.

.. data:: asyncio.subprocess.DEVNULL
:module:

Special value that can be used as the *stdin*, *stdout* or *stderr* argument
to process creation functions. It indicates that the special file
Expand All @@ -160,6 +163,7 @@ wrapper that allows communicating with subprocesses and watching for
their completion.

.. class:: asyncio.subprocess.Process
:module:

An object that wraps OS processes created by the
:func:`create_subprocess_exec` and :func:`create_subprocess_shell`
Expand Down
1 change: 1 addition & 0 deletions Doc/library/multiprocessing.rst
Expand Up @@ -1648,6 +1648,7 @@ different machines. A manager object controls a server process which manages
proxies.

.. function:: multiprocessing.Manager()
:module:

Returns a started :class:`~multiprocessing.managers.SyncManager` object which
can be used for sharing objects between processes. The returned manager
Expand Down
2 changes: 2 additions & 0 deletions Doc/library/xml.etree.elementtree.rst
Expand Up @@ -808,6 +808,7 @@ Functions
^^^^^^^^^

.. function:: xml.etree.ElementInclude.default_loader( href, parse, encoding=None)
:module:

Default loader. This default loader reads an included resource from disk. *href* is a URL.
*parse* is for parse mode either "xml" or "text". *encoding*
Expand All @@ -819,6 +820,7 @@ Functions

.. function:: xml.etree.ElementInclude.include( elem, loader=None, base_url=None, \
max_depth=6)
:module:

This function expands XInclude directives. *elem* is the root element. *loader* is
an optional resource loader. If omitted, it defaults to :func:`default_loader`.
Expand Down

0 comments on commit a43f4e7

Please sign in to comment.