#18466: fix more typos. Patch by Févry Thibault.

This commit is contained in:
Ezio Melotti 2013-08-17 16:57:41 +03:00
parent b5bc353b88
commit 85a8629d21
12 changed files with 12 additions and 12 deletions

View File

@ -42,7 +42,7 @@ typedef struct
typedef struct
{
PyObject_HEAD /* a pure abstract base clase */
PyObject_HEAD /* a pure abstract base class */
} PyDateTime_TZInfo;

View File

@ -375,7 +375,7 @@ def namedtuple(typename, field_names, verbose=False, rename=False):
print(result._source)
# For pickling to work, the __module__ variable needs to be set to the frame
# where the named tuple is created. Bypass this step in enviroments where
# where the named tuple is created. Bypass this step in environments where
# sys._getframe is not defined (Jython for example) or sys._getframe is not
# defined for arguments greater than 0 (IronPython).
try:

View File

@ -250,7 +250,7 @@ class TestTimeZone(unittest.TestCase):
t.replace(tzinfo=tz).dst())
#############################################################################
# Base clase for testing a particular aspect of timedelta, time, date and
# Base class for testing a particular aspect of timedelta, time, date and
# datetime comparisons.
class HarmlessMixedComparison:

View File

@ -1218,7 +1218,7 @@ class URLopener_Tests(unittest.TestCase):
# Everywhere else they work ok, but on those machines, sometimes
# fail in one of the tests, sometimes in other. I have a linux, and
# the tests go ok.
# If anybody has one of the problematic enviroments, please help!
# If anybody has one of the problematic environments, please help!
# . Facundo
#
# def server(evt):

View File

@ -489,7 +489,7 @@ getenvironment(PyObject* environment)
Py_UCS4 *buffer = NULL, *p, *end;
PyObject *keys, *values, *res;
/* convert environment dictionary to windows enviroment string */
/* convert environment dictionary to windows environment string */
if (! PyMapping_Check(environment)) {
PyErr_SetString(
PyExc_TypeError, "environment must be dictionary or None");