mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either
comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
This commit is contained in:
parent
c533e4a012
commit
7e47402264
102 changed files with 184 additions and 184 deletions
|
@ -1360,7 +1360,7 @@ Execute a path with arguments and environment, replacing current process.\n\
|
|||
\n\
|
||||
path: path of executable file\n\
|
||||
args: tuple or list of arguments\n\
|
||||
env: dictonary of strings mapping to strings";
|
||||
env: dictionary of strings mapping to strings";
|
||||
|
||||
static PyObject *
|
||||
posix_execve(PyObject *self, PyObject *args)
|
||||
|
@ -1558,7 +1558,7 @@ Execute a path with arguments and environment, replacing current process.\n\
|
|||
mode: mode of process creation\n\
|
||||
path: path of executable file\n\
|
||||
args: tuple or list of arguments\n\
|
||||
env: dictonary of strings mapping to strings";
|
||||
env: dictionary of strings mapping to strings";
|
||||
|
||||
static PyObject *
|
||||
posix_spawnve(PyObject *self, PyObject *args)
|
||||
|
@ -1700,7 +1700,7 @@ posix_fork(PyObject *self, PyObject *args)
|
|||
#include <libutil.h>
|
||||
#else
|
||||
/* BSDI does not supply a prototype for the 'openpty' and 'forkpty'
|
||||
functions, eventhough they are included in libutil. */
|
||||
functions, even though they are included in libutil. */
|
||||
#include <termios.h>
|
||||
extern int openpty(int *, int *, char *, struct termios *, struct winsize *);
|
||||
extern int forkpty(int *, char *, struct termios *, struct winsize *);
|
||||
|
@ -3897,7 +3897,7 @@ posix_tmpnam(PyObject *self, PyObject *args)
|
|||
/* This is used for fpathconf(), pathconf(), confstr() and sysconf().
|
||||
* It maps strings representing configuration variable names to
|
||||
* integer values, allowing those functions to be called with the
|
||||
* magic names instead of poluting the module's namespace with tons of
|
||||
* magic names instead of polluting the module's namespace with tons of
|
||||
* rarely-used constants. There are three separate tables that use
|
||||
* these definitions.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue