mirror of https://github.com/python/cpython
Normalize spelling of Mac OS X.
This commit is contained in:
parent
9af0c56057
commit
89b1296ab9
|
@ -1091,17 +1091,17 @@ other utility module.
|
|||
|
||||
For non-POSIX platforms, currently just returns ``sys.platform``.
|
||||
|
||||
For MacOS X systems the OS version reflects the minimal version on which
|
||||
For Mac OS X systems the OS version reflects the minimal version on which
|
||||
binaries will run (that is, the value of ``MACOSX_DEPLOYMENT_TARGET``
|
||||
during the build of Python), not the OS version of the current system.
|
||||
|
||||
For universal binary builds on MacOS X the architecture value reflects
|
||||
For universal binary builds on Mac OS X the architecture value reflects
|
||||
the univeral binary status instead of the architecture of the current
|
||||
processor. For 32-bit universal binaries the architecture is ``fat``,
|
||||
for 64-bit universal binaries the architecture is ``fat64``, and
|
||||
for 4-way universal binaries the architecture is ``universal``.
|
||||
|
||||
Examples of returned values on MacOS X:
|
||||
Examples of returned values on Mac OS X:
|
||||
|
||||
* ``macosx-10.3-ppc``
|
||||
|
||||
|
|
|
@ -190,9 +190,9 @@ write files see :func:`open`, and for accessing the filesystem see the
|
|||
|
||||
.. function:: normcase(path)
|
||||
|
||||
Normalize the case of a pathname. On Unix and MacOSX, this returns the path unchanged; on
|
||||
case-insensitive filesystems, it converts the path to lowercase. On Windows, it
|
||||
also converts forward slashes to backward slashes.
|
||||
Normalize the case of a pathname. On Unix and Mac OS X, this returns the
|
||||
path unchanged; on case-insensitive filesystems, it converts the path to
|
||||
lowercase. On Windows, it also converts forward slashes to backward slashes.
|
||||
|
||||
|
||||
.. function:: normpath(path)
|
||||
|
|
|
@ -656,7 +656,7 @@ ones inherited from :class:`ttk.Widget`.
|
|||
Platform-specific notes
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* On MacOS X, toplevel windows automatically include a built-in size grip
|
||||
* On Mac OS X, toplevel windows automatically include a built-in size grip
|
||||
by default. Adding a :class:`Sizegrip` is harmless, since the built-in
|
||||
grip will just mask the widget.
|
||||
|
||||
|
|
Loading…
Reference in New Issue