summaryrefslogtreecommitdiffstats
path: root/Lib/plat-os2emx
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-07-18 06:16:08 (GMT)
commit182b5aca27d376b08a2904bed42b751496f932f3 (patch)
treedf13115820dbc879c0fe2eae488c9f8c0215a7da /Lib/plat-os2emx
parente6ddc8b20b493fef2e7cffb2e1351fe1d238857e (diff)
downloadcpython-182b5aca27d376b08a2904bed42b751496f932f3.zip
cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.gz
cpython-182b5aca27d376b08a2904bed42b751496f932f3.tar.bz2
Whitespace normalization, via reindent.py.
Diffstat (limited to 'Lib/plat-os2emx')
-rw-r--r--Lib/plat-os2emx/_emx_link.py2
-rw-r--r--Lib/plat-os2emx/grp.py14
-rw-r--r--Lib/plat-os2emx/pwd.py20
3 files changed, 18 insertions, 18 deletions
diff --git a/Lib/plat-os2emx/_emx_link.py b/Lib/plat-os2emx/_emx_link.py
index 04648e2..422c2bb 100644
--- a/Lib/plat-os2emx/_emx_link.py
+++ b/Lib/plat-os2emx/_emx_link.py
@@ -2,7 +2,7 @@
# Written by Andrew I MacIntyre, December 2002.
-"""_emx_link.py is a simplistic emulation of the Unix link(2) library routine
+"""_emx_link.py is a simplistic emulation of the Unix link(2) library routine
for creating so-called hard links. It is intended to be imported into
the os module in place of the unimplemented (on OS/2) Posix link()
function (os.link()).
diff --git a/Lib/plat-os2emx/grp.py b/Lib/plat-os2emx/grp.py
index d05ad27..fceb4c9 100644
--- a/Lib/plat-os2emx/grp.py
+++ b/Lib/plat-os2emx/grp.py
@@ -4,10 +4,10 @@
# written by Andrew MacIntyre, April 2001.
# updated July 2003, adding field accessor support
-# note that this implementation checks whether ":" or ";" as used as
+# note that this implementation checks whether ":" or ";" as used as
# the field separator character.
-"""Replacement for grp standard extension module, intended for use on
+"""Replacement for grp standard extension module, intended for use on
OS/2 and similar systems which don't normally have an /etc/group file.
The standard Unix group database is an ASCII text file with 4 fields per
@@ -17,16 +17,16 @@ record (line), separated by a colon:
- group id (integer)
- group members (comma delimited list of userids, with no spaces)
-Note that members are only included in the group file for groups that
+Note that members are only included in the group file for groups that
aren't their primary groups.
(see the section 8.2 of the Python Library Reference)
-This implementation differs from the standard Unix implementation by
-allowing use of the platform's native path separator character - ';' on OS/2,
-DOS and MS-Windows - as the field separator in addition to the Unix
+This implementation differs from the standard Unix implementation by
+allowing use of the platform's native path separator character - ';' on OS/2,
+DOS and MS-Windows - as the field separator in addition to the Unix
standard ":".
-The module looks for the group database at the following locations
+The module looks for the group database at the following locations
(in order first to last):
- ${ETC_GROUP} (or %ETC_GROUP%)
- ${ETC}/group (or %ETC%/group)
diff --git a/Lib/plat-os2emx/pwd.py b/Lib/plat-os2emx/pwd.py
index 1036fce..95d766a 100644
--- a/Lib/plat-os2emx/pwd.py
+++ b/Lib/plat-os2emx/pwd.py
@@ -4,14 +4,14 @@
# written by Andrew MacIntyre, April 2001.
# updated July 2003, adding field accessor support
-# note that this implementation checks whether ":" or ";" as used as
+# note that this implementation checks whether ":" or ";" as used as
# the field separator character. Path conversions are are applied when
# the database uses ":" as the field separator character.
-"""Replacement for pwd standard extension module, intended for use on
+"""Replacement for pwd standard extension module, intended for use on
OS/2 and similar systems which don't normally have an /etc/passwd file.
-The standard Unix password database is an ASCII text file with 7 fields
+The standard Unix password database is an ASCII text file with 7 fields
per record (line), separated by a colon:
- user name (string)
- password (encrypted string, or "*" or "")
@@ -23,13 +23,13 @@ per record (line), separated by a colon:
(see the section 8.1 of the Python Library Reference)
-This implementation differs from the standard Unix implementation by
-allowing use of the platform's native path separator character - ';' on OS/2,
-DOS and MS-Windows - as the field separator in addition to the Unix
-standard ":". Additionally, when ":" is the separator path conversions
+This implementation differs from the standard Unix implementation by
+allowing use of the platform's native path separator character - ';' on OS/2,
+DOS and MS-Windows - as the field separator in addition to the Unix
+standard ":". Additionally, when ":" is the separator path conversions
are applied to deal with any munging of the drive letter reference.
-The module looks for the password database at the following locations
+The module looks for the password database at the following locations
(in order first to last):
- ${ETC_PASSWD} (or %ETC_PASSWD%)
- ${ETC}/passwd (or %ETC%/passwd)
@@ -94,8 +94,8 @@ def __unixpathconv(path):
# decide what field separator we can try to use - Unix standard, with
# the platform's path separator as an option. No special field conversion
-# handler is required when using the platform's path separator as field
-# separator, but are required for the home directory and shell fields when
+# handler is required when using the platform's path separator as field
+# separator, but are required for the home directory and shell fields when
# using the standard Unix (":") field separator.
__field_sep = {':': __unixpathconv}
if os.pathsep: