Skip to content

Commit 04e0cc1

Browse files
authored
[3.15] Fix typos in os.getppid, _zstd.get_frame_info and sysconfig docstrings (GH-161181) (#161228)
(cherry picked from commit 126f33e)
1 parent fe52e40 commit 04e0cc1

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
@@ -364,7 +364,7 @@ def _get_sysconfigdata():
364364

365365

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

‎Modules/_zstd/_zstdmodule.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,12 +498,12 @@ _zstd.get_frame_info
498498
frame_buffer: Py_buffer
499499
A bytes-like object, containing the header of a Zstandard frame.
500500
501-
Get Zstandard frame infomation from a frame header.
501+
Get Zstandard frame information from a frame header.
502502
[clinic start generated code]*/
503503

504504
static PyObject *
505505
_zstd_get_frame_info_impl(PyObject *module, Py_buffer *frame_buffer)
506-
/*[clinic end generated code: output=56e033cf48001929 input=94b240583ae22ca5]*/
506+
/*[clinic end generated code: output=56e033cf48001929 input=6b350490b0f58ede]*/
507507
{
508508
uint64_t decompressed_size;
509509
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
@@ -10108,13 +10108,13 @@ os.getppid
1010810108
Return the parent's process id.
1010910109

1011010110
If the parent process has already exited, Windows machines will still
10111-
return its id; others systems will return the id of the 'init' proces
10111+
return its id; other systems will return the id of the 'init' process
1011210112
(1).
1011310113
[clinic start generated code]*/
1011410114

1011510115
static PyObject *
1011610116
os_getppid_impl(PyObject *module)
10117-
/*[clinic end generated code: output=43b2a946a8c603b4 input=e17c1de18f41316b]*/
10117+
/*[clinic end generated code: output=43b2a946a8c603b4 input=158cc6dd661d54d9]*/
1011810118
{
1011910119
#ifdef MS_WINDOWS
1012010120
return win32_getppid();

0 commit comments

Comments
 (0)