Skip to content

Commit bd7d0e8

Browse files
authored
Fix capitalization of Unix in documentation (#96913)
1 parent f00645d commit bd7d0e8

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

Doc/library/email.compat32-message.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Here are the methods of the :class:`Message` class:
8383
Note that this method is provided as a convenience and may not always
8484
format the message the way you want. For example, by default it does
8585
not do the mangling of lines that begin with ``From`` that is
86-
required by the unix mbox format. For more flexibility, instantiate a
86+
required by the Unix mbox format. For more flexibility, instantiate a
8787
:class:`~email.generator.Generator` instance and use its
8888
:meth:`~email.generator.Generator.flatten` method directly. For example::
8989

@@ -125,7 +125,7 @@ Here are the methods of the :class:`Message` class:
125125
Note that this method is provided as a convenience and may not always
126126
format the message the way you want. For example, by default it does
127127
not do the mangling of lines that begin with ``From`` that is
128-
required by the unix mbox format. For more flexibility, instantiate a
128+
required by the Unix mbox format. For more flexibility, instantiate a
129129
:class:`~email.generator.BytesGenerator` instance and use its
130130
:meth:`~email.generator.BytesGenerator.flatten` method directly.
131131
For example::

Doc/library/email.generator.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To accommodate reproducible processing of SMIME-signed messages
5555
defaults to the value of the :attr:`~email.policy.Policy.mangle_from_`
5656
setting of the *policy* (which is ``True`` for the
5757
:data:`~email.policy.compat32` policy and ``False`` for all others).
58-
*mangle_from_* is intended for use when messages are stored in unix mbox
58+
*mangle_from_* is intended for use when messages are stored in Unix mbox
5959
format (see :mod:`mailbox` and `WHY THE CONTENT-LENGTH FORMAT IS BAD
6060
<https://www.jwz.org/doc/content-length.html>`_).
6161

@@ -156,7 +156,7 @@ to be using :class:`BytesGenerator`, and not :class:`Generator`.
156156
defaults to the value of the :attr:`~email.policy.Policy.mangle_from_`
157157
setting of the *policy* (which is ``True`` for the
158158
:data:`~email.policy.compat32` policy and ``False`` for all others).
159-
*mangle_from_* is intended for use when messages are stored in unix mbox
159+
*mangle_from_* is intended for use when messages are stored in Unix mbox
160160
format (see :mod:`mailbox` and `WHY THE CONTENT-LENGTH FORMAT IS BAD
161161
<https://www.jwz.org/doc/content-length.html>`_).
162162

Doc/library/multiprocessing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ to start a process. These *start methods* are
144144
subprocess. See :issue:`33725`.
145145

146146
.. versionchanged:: 3.4
147-
*spawn* added on all unix platforms, and *forkserver* added for
148-
some unix platforms.
147+
*spawn* added on all Unix platforms, and *forkserver* added for
148+
some Unix platforms.
149149
Child processes no longer inherit all of the parents inheritable
150150
handles on Windows.
151151

Doc/library/os.path.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ files see :func:`open`, and for accessing the filesystem see the :mod:`os`
1616
module. The path parameters can be passed as strings, or bytes, or any object
1717
implementing the :class:`os.PathLike` protocol.
1818

19-
Unlike a unix shell, Python does not do any *automatic* path expansions.
19+
Unlike a Unix shell, Python does not do any *automatic* path expansions.
2020
Functions such as :func:`expanduser` and :func:`expandvars` can be invoked
2121
explicitly when an application desires shell-like path expansion. (See also
2222
the :mod:`glob` module.)

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ The :mod:`test.support.socket_helper` module provides support for socket tests.
11281128

11291129
.. function:: bind_unix_socket(sock, addr)
11301130

1131-
Bind a unix socket, raising :exc:`unittest.SkipTest` if
1131+
Bind a Unix socket, raising :exc:`unittest.SkipTest` if
11321132
:exc:`PermissionError` is raised.
11331133

11341134

Doc/whatsnew/3.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,7 @@ socket
18981898
family on OS X. (Contributed by Michael Goderbauer in :issue:`13777`.)
18991899

19001900
* New function :func:`~socket.sethostname` allows the hostname to be set
1901-
on unix systems if the calling process has sufficient privileges.
1901+
on Unix systems if the calling process has sufficient privileges.
19021902
(Contributed by Ross Lagerwall in :issue:`10866`.)
19031903

19041904

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy