Skip to content

Commit 126f33e

Browse files
authored
Fix typos in os.getppid, _zstd.get_frame_info and sysconfig docstrings (#161181)
1 parent 64e3db7 commit 126f33e

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎Lib/sysconfig/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def _get_sysconfigdata():
369369

370370

371371
def _installation_is_relocated():
372-
"""Is the Python installation running from a different prefix than what was targetted when building?"""
372+
"""Is the Python installation running from a different prefix than what was targeted when building?"""
373373
if os.name != 'posix':
374374
raise NotImplementedError('sysconfig._installation_is_relocated() is currently only supported on POSIX')
375375

‎Modules/_zstd/_zstdmodule.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,12 @@ _zstd.get_frame_info
493493
frame_buffer: Py_buffer
494494
A bytes-like object, containing the header of a Zstandard frame.
495495
496-
Get Zstandard frame infomation from a frame header.
496+
Get Zstandard frame information from a frame header.
497497
[clinic start generated code]*/
498498

499499
static PyObject *
500500
_zstd_get_frame_info_impl(PyObject *module, Py_buffer *frame_buffer)
501-
/*[clinic end generated code: output=56e033cf48001929 input=94b240583ae22ca5]*/
501+
/*[clinic end generated code: output=56e033cf48001929 input=6b350490b0f58ede]*/
502502
{
503503
uint64_t decompressed_size;
504504
uint32_t dict_id;

‎Modules/_zstd/clinic/_zstdmodule.c.h‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Modules/clinic/posixmodule.c.h‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Modules/posixmodule.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10091,13 +10091,13 @@ os.getppid
1009110091
Return the parent's process id.
1009210092

1009310093
If the parent process has already exited, Windows machines will still
10094-
return its id; others systems will return the id of the 'init' proces
10094+
return its id; other systems will return the id of the 'init' process
1009510095
(1).
1009610096
[clinic start generated code]*/
1009710097

1009810098
static PyObject *
1009910099
os_getppid_impl(PyObject *module)
10100-
/*[clinic end generated code: output=43b2a946a8c603b4 input=e17c1de18f41316b]*/
10100+
/*[clinic end generated code: output=43b2a946a8c603b4 input=158cc6dd661d54d9]*/
1010110101
{
1010210102
#ifdef MS_WINDOWS
1010310103
return win32_getppid();

0 commit comments

Comments
 (0)