diff -r 83fa2e9b0038 Doc/distutils/packageindex.rst --- a/Doc/distutils/packageindex.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/distutils/packageindex.rst Mon Nov 02 09:30:41 2015 +0200 @@ -167,7 +167,7 @@ follows:: username: password: -The *distutils* section defines a *index-servers* variable that lists the +The *distutils* section defines an *index-servers* variable that lists the name of all sections describing a repository. Each section describing a repository defines three variables: diff -r 83fa2e9b0038 Doc/howto/descriptor.rst --- a/Doc/howto/descriptor.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/howto/descriptor.rst Mon Nov 02 09:30:41 2015 +0200 @@ -319,7 +319,7 @@ Non-data descriptors provide a simple me patterns of binding functions into methods. To recap, functions have a :meth:`__get__` method so that they can be converted -to a method when accessed as attributes. The non-data descriptor transforms a +to a method when accessed as attributes. The non-data descriptor transforms an ``obj.f(*args)`` call into ``f(obj, *args)``. Calling ``klass.f(*args)`` becomes ``f(*args)``. diff -r 83fa2e9b0038 Doc/install/index.rst --- a/Doc/install/index.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/install/index.rst Mon Nov 02 09:30:41 2015 +0200 @@ -148,7 +148,7 @@ into. For example, if you've just downl On Windows, you'd probably download :file:`foo-1.0.zip`. If you downloaded the archive file to :file:`C:\\Temp`, then it would unpack into -:file:`C:\\Temp\\foo-1.0`; you can use either a archive manipulator with a +:file:`C:\\Temp\\foo-1.0`; you can use either an archive manipulator with a graphical user interface (such as WinZip) or a command-line tool (such as :program:`unzip` or :program:`pkunzip`) to unpack the archive. Then, open a command prompt window and run:: diff -r 83fa2e9b0038 Doc/library/asyncio-protocol.rst --- a/Doc/library/asyncio-protocol.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/asyncio-protocol.rst Mon Nov 02 09:30:41 2015 +0200 @@ -148,7 +148,7 @@ WriteTransport high-water limit. Neither *high* nor *low* can be negative. The defaults are implementation-specific. If only the - high-water limit is given, the low-water limit defaults to a + high-water limit is given, the low-water limit defaults to an implementation-specific value less than or equal to the high-water limit. Setting *high* to zero forces *low* to zero as well, and causes :meth:`pause_writing` to be called whenever the diff -r 83fa2e9b0038 Doc/library/contextlib.rst --- a/Doc/library/contextlib.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/contextlib.rst Mon Nov 02 09:30:41 2015 +0200 @@ -142,7 +142,7 @@ Functions and classes provided: is hardwired to stdout. For example, the output of :func:`help` normally is sent to *sys.stdout*. - You can capture that output in a string by redirecting the output to a + You can capture that output in a string by redirecting the output to an :class:`io.StringIO` object:: f = io.StringIO() diff -r 83fa2e9b0038 Doc/library/email.parser.rst --- a/Doc/library/email.parser.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/email.parser.rst Mon Nov 02 09:30:41 2015 +0200 @@ -146,7 +146,7 @@ have the same API as the :class:`Parser` methods on file-like objects. The text contained in *fp* must be formatted as a block of :rfc:`2822` - style headers and header continuation lines, optionally preceded by a + style headers and header continuation lines, optionally preceded by an envelope header. The header block is terminated either by the end of the data or by a blank line. Following the header block is the body of the message (which may contain MIME-encoded subparts). @@ -189,7 +189,7 @@ have the same API as the :class:`Parser` methods on file-like objects. The bytes contained in *fp* must be formatted as a block of :rfc:`2822` - style headers and header continuation lines, optionally preceded by a + style headers and header continuation lines, optionally preceded by an envelope header. The header block is terminated either by the end of the data or by a blank line. Following the header block is the body of the message (which may contain MIME-encoded subparts, including subparts diff -r 83fa2e9b0038 Doc/library/glob.rst --- a/Doc/library/glob.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/glob.rst Mon Nov 02 09:30:41 2015 +0200 @@ -38,7 +38,7 @@ For example, ``'[?]'`` matches the chara symlinks are included in the results (as in the shell). If *recursive* is true, the pattern "``**``" will match any files and zero or - more directories and subdirectories. If the pattern is followed by a + more directories and subdirectories. If the pattern is followed by an ``os.sep``, only directories and subdirectories match. .. note:: diff -r 83fa2e9b0038 Doc/library/gzip.rst --- a/Doc/library/gzip.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/gzip.rst Mon Nov 02 09:30:41 2015 +0200 @@ -64,7 +64,7 @@ The module defines the following items: method. At least one of *fileobj* and *filename* must be given a non-trivial value. - The new class instance is based on *fileobj*, which can be a regular file, a + The new class instance is based on *fileobj*, which can be a regular file, an :class:`io.BytesIO` object, or any other object which simulates a file. It defaults to ``None``, in which case *filename* is opened to provide a file object. diff -r 83fa2e9b0038 Doc/library/pickle.rst --- a/Doc/library/pickle.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/pickle.rst Mon Nov 02 09:30:41 2015 +0200 @@ -192,7 +192,7 @@ process more convenient: number is specified, :data:`HIGHEST_PROTOCOL` is selected. The *file* argument must have a write() method that accepts a single bytes - argument. It can thus be an on-disk file opened for binary writing, a + argument. It can thus be an on-disk file opened for binary writing, an :class:`io.BytesIO` instance, or any other custom object that meets this interface. @@ -288,7 +288,7 @@ The :mod:`pickle` module exports two cla number is specified, :data:`HIGHEST_PROTOCOL` is selected. The *file* argument must have a write() method that accepts a single bytes - argument. It can thus be an on-disk file opened for binary writing, a + argument. It can thus be an on-disk file opened for binary writing, an :class:`io.BytesIO` instance, or any other custom object that meets this interface. diff -r 83fa2e9b0038 Doc/library/socket.rst --- a/Doc/library/socket.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/socket.rst Mon Nov 02 09:30:41 2015 +0200 @@ -786,7 +786,7 @@ The :mod:`socket` module also offers var .. function:: sethostname(name) - Set the machine's hostname to *name*. This will raise a + Set the machine's hostname to *name*. This will raise an :exc:`OSError` if you don't have enough rights. Availability: Unix. @@ -818,7 +818,7 @@ The :mod:`socket` module also offers var .. function:: if_indextoname(if_index) - Return a network interface name corresponding to a + Return a network interface name corresponding to an interface index number. :exc:`OSError` if no interface with the given index exists. diff -r 83fa2e9b0038 Doc/library/tokenize.rst --- a/Doc/library/tokenize.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/tokenize.rst Mon Nov 02 09:30:41 2015 +0200 @@ -41,7 +41,7 @@ The primary entry point is a :term:`gene returned as a :term:`named tuple` with the field names: ``type string start end line``. - The returned :term:`named tuple` has a additional property named + The returned :term:`named tuple` has an additional property named ``exact_type`` that contains the exact operator type for :data:`token.OP` tokens. For all other token types ``exact_type`` equals the named tuple ``type`` field. diff -r 83fa2e9b0038 Doc/library/unittest.rst --- a/Doc/library/unittest.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/unittest.rst Mon Nov 02 09:30:41 2015 +0200 @@ -471,7 +471,7 @@ Skipping tests and expected failures .. versionadded:: 3.1 Unittest supports skipping individual test methods and even whole classes of -tests. In addition, it supports marking a test as a "expected failure," a test +tests. In addition, it supports marking a test as an "expected failure," a test that is broken and will fail, but shouldn't be counted as a failure on a :class:`TestResult`. diff -r 83fa2e9b0038 Doc/library/urllib.request.rst --- a/Doc/library/urllib.request.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/urllib.request.rst Mon Nov 02 09:30:41 2015 +0200 @@ -1383,7 +1383,7 @@ some point in the future. .. method:: retrieve(url, filename=None, reporthook=None, data=None) Retrieves the contents of *url* and places it in *filename*. The return value - is a tuple consisting of a local filename and either a + is a tuple consisting of a local filename and either an :class:`email.message.Message` object containing the response headers (for remote URLs) or ``None`` (for local URLs). The caller must then open and read the contents of *filename*. If *filename* is not given and the URL refers to a diff -r 83fa2e9b0038 Doc/library/xml.dom.minidom.rst --- a/Doc/library/xml.dom.minidom.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/xml.dom.minidom.rst Mon Nov 02 09:30:41 2015 +0200 @@ -54,7 +54,7 @@ instead: .. function:: parseString(string, parser=None) - Return a :class:`Document` that represents the *string*. This method creates a + Return a :class:`Document` that represents the *string*. This method creates an :class:`io.StringIO` object for the string and passes that on to :func:`parse`. Both functions return a :class:`Document` object representing the content of the diff -r 83fa2e9b0038 Doc/library/zlib.rst --- a/Doc/library/zlib.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/library/zlib.rst Mon Nov 02 09:30:41 2015 +0200 @@ -30,7 +30,7 @@ The available exception and functions in .. function:: adler32(data[, value]) - Computes a Adler-32 checksum of *data*. (An Adler-32 checksum is almost as + Computes an Adler-32 checksum of *data*. (An Adler-32 checksum is almost as reliable as a CRC32 but can be computed much more quickly.) If *value* is present, it is used as the starting value of the checksum; otherwise, a fixed default value is used. This allows computing a running checksum over the diff -r 83fa2e9b0038 Doc/whatsnew/2.7.rst --- a/Doc/whatsnew/2.7.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/whatsnew/2.7.rst Mon Nov 02 09:30:41 2015 +0200 @@ -1118,7 +1118,7 @@ changes, or look through the Subversion (Fixed by Daniel Stutzbach; :issue:`8729`.) * Constructors for the parsing classes in the :mod:`ConfigParser` module now - take a *allow_no_value* parameter, defaulting to false; if true, + take an *allow_no_value* parameter, defaulting to false; if true, options without values will be allowed. For example:: >>> import ConfigParser, StringIO diff -r 83fa2e9b0038 Doc/whatsnew/3.3.rst --- a/Doc/whatsnew/3.3.rst Mon Nov 02 00:39:56 2015 -0500 +++ b/Doc/whatsnew/3.3.rst Mon Nov 02 09:30:41 2015 +0200 @@ -2155,7 +2155,7 @@ Major performance enhancements have been * encode an ASCII string to UTF-8 doesn't need to encode characters anymore, the UTF-8 representation is shared with the ASCII representation * the UTF-8 encoder has been optimized - * repeating a single ASCII letter and getting a substring of a ASCII strings + * repeating a single ASCII letter and getting a substring of ASCII strings is 4 times faster * UTF-8 is now 2x to 4x faster. UTF-16 encoding is now up to 10x faster. diff -r 83fa2e9b0038 Include/unicodeobject.h --- a/Include/unicodeobject.h Mon Nov 02 00:39:56 2015 -0500 +++ b/Include/unicodeobject.h Mon Nov 02 09:30:41 2015 +0200 @@ -982,7 +982,7 @@ PyAPI_FUNC(int) Py_ssize_t end ); -/* Append a ASCII-encoded byte string. +/* Append an ASCII-encoded byte string. Return 0 on success, raise an exception and return -1 on error. */ PyAPI_FUNC(int) _PyUnicodeWriter_WriteASCIIString(_PyUnicodeWriter *writer, @@ -2058,7 +2058,7 @@ PyAPI_FUNC(PyObject *) PyUnicode_RichCom int op /* Operation: Py_EQ, Py_NE, Py_GT, etc. */ ); -/* Apply a argument tuple or dictionary to a format string and return +/* Apply an argument tuple or dictionary to a format string and return the resulting Unicode string. */ PyAPI_FUNC(PyObject *) PyUnicode_Format( diff -r 83fa2e9b0038 Lib/asyncio/sslproto.py --- a/Lib/asyncio/sslproto.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/asyncio/sslproto.py Mon Nov 02 09:30:41 2015 +0200 @@ -349,7 +349,7 @@ class _SSLProtocolTransport(transports._ high-water limit. Neither value can be negative. The defaults are implementation-specific. If only the - high-water limit is given, the low-water limit defaults to a + high-water limit is given, the low-water limit defaults to an implementation-specific value less than or equal to the high-water limit. Setting high to zero forces low to zero as well, and causes pause_writing() to be called whenever the diff -r 83fa2e9b0038 Lib/asyncio/transports.py --- a/Lib/asyncio/transports.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/asyncio/transports.py Mon Nov 02 09:30:41 2015 +0200 @@ -62,7 +62,7 @@ class WriteTransport(BaseTransport): high-water limit. Neither value can be negative. The defaults are implementation-specific. If only the - high-water limit is given, the low-water limit defaults to a + high-water limit is given, the low-water limit defaults to an implementation-specific value less than or equal to the high-water limit. Setting high to zero forces low to zero as well, and causes pause_writing() to be called whenever the diff -r 83fa2e9b0038 Lib/ctypes/test/test_random_things.py --- a/Lib/ctypes/test/test_random_things.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/ctypes/test/test_random_things.py Mon Nov 02 09:30:41 2015 +0200 @@ -30,7 +30,7 @@ class CallbackTracbackTestCase(unittest. # value is printed correctly. # # Changed in 0.9.3: No longer is '(in callback)' prepended to the - # error message - instead a additional frame for the C code is + # error message - instead an additional frame for the C code is # created, then a full traceback printed. When SystemExit is # raised in a callback function, the interpreter exits. diff -r 83fa2e9b0038 Lib/http/cookiejar.py --- a/Lib/http/cookiejar.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/http/cookiejar.py Mon Nov 02 09:30:41 2015 +0200 @@ -1437,7 +1437,7 @@ class CookieJar: break # convert RFC 2965 Max-Age to seconds since epoch # XXX Strictly you're supposed to follow RFC 2616 - # age-calculation rules. Remember that zero Max-Age is a + # age-calculation rules. Remember that zero Max-Age # is a request to discard (old and new) cookie, though. k = "expires" v = self._now + v diff -r 83fa2e9b0038 Lib/lib2to3/fixes/fix_metaclass.py --- a/Lib/lib2to3/fixes/fix_metaclass.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/lib2to3/fixes/fix_metaclass.py Mon Nov 02 09:30:41 2015 +0200 @@ -114,7 +114,7 @@ def find_metas(cls_node): left_node = expr_node.children[0] if isinstance(left_node, Leaf) and \ left_node.value == '__metaclass__': - # We found a assignment to __metaclass__. + # We found an assignment to __metaclass__. fixup_simple_stmt(node, i, simple_node) remove_trailing_newline(simple_node) yield (node, i, simple_node) diff -r 83fa2e9b0038 Lib/msilib/schema.py --- a/Lib/msilib/schema.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/msilib/schema.py Mon Nov 02 09:30:41 2015 +0200 @@ -733,7 +733,7 @@ tables=[_Validation, ActionText, AdminEx ('CustomAction','Source','Y',None, None, None, None, 'CustomSource',None, 'The table reference of the source of the code.',), ('CustomAction','Target','Y',None, None, None, None, 'Formatted',None, 'Excecution parameter, depends on the type of custom action',), ('DrLocator','Signature_','N',None, None, None, None, 'Identifier',None, 'The Signature_ represents a unique file signature and is also the foreign key in the Signature table.',), -('DrLocator','Path','Y',None, None, None, None, 'AnyPath',None, 'The path on the user system. This is a either a subpath below the value of the Parent or a full path. The path may contain properties enclosed within [ ] that will be expanded.',), +('DrLocator','Path','Y',None, None, None, None, 'AnyPath',None, 'The path on the user system. This is either a subpath below the value of the Parent or a full path. The path may contain properties enclosed within [ ] that will be expanded.',), ('DrLocator','Depth','Y',0,32767,None, None, None, None, 'The depth below the path to which the Signature_ is recursively searched. If absent, the depth is assumed to be 0.',), ('DrLocator','Parent','Y',None, None, None, None, 'Identifier',None, 'The parent file signature. It is also a foreign key in the Signature table. If null and the Path column does not expand to a full path, then all the fixed drives of the user system are searched using the Path.',), ('DuplicateFile','File_','N',None, None, 'File',1,'Identifier',None, 'Foreign key referencing the source file to be duplicated.',), diff -r 83fa2e9b0038 Lib/test/libregrtest/cmdline.py --- a/Lib/test/libregrtest/cmdline.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/test/libregrtest/cmdline.py Mon Nov 02 09:30:41 2015 +0200 @@ -25,7 +25,7 @@ python -E -Wd -m test [options] [test_na EPILOG = """\ Additional option details: --r randomizes test execution order. You can use --randseed=int to provide a +-r randomizes test execution order. You can use --randseed=int to provide an int seed value for the randomizer; this is useful for reproducing troublesome test orders. diff -r 83fa2e9b0038 Lib/test/test_asdl_parser.py --- a/Lib/test/test_asdl_parser.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/test/test_asdl_parser.py Mon Nov 02 09:30:41 2015 +0200 @@ -21,7 +21,7 @@ class TestAsdlParser(unittest.TestCase): def setUpClass(cls): # Loads the asdl module dynamically, since it's not in a real importable # package. - # Parses Python.asdl into a ast.Module and run the check on it. + # Parses Python.asdl into an ast.Module and run the check on it. # There's no need to do this for each test method, hence setUpClass. sys.path.insert(0, parser_dir) loader = importlib.machinery.SourceFileLoader( diff -r 83fa2e9b0038 Lib/test/test_codecs.py --- a/Lib/test/test_codecs.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/test/test_codecs.py Mon Nov 02 09:30:41 2015 +0200 @@ -1244,7 +1244,7 @@ class RecodingTest(unittest.TestCase): # From RFC 3492 punycode_testcases = [ - # A Arabic (Egyptian): + # An Arabic (Egyptian): ("\u0644\u064A\u0647\u0645\u0627\u0628\u062A\u0643\u0644" "\u0645\u0648\u0634\u0639\u0631\u0628\u064A\u061F", b"egbpdaj6bu4bxfgehfvwxn"), diff -r 83fa2e9b0038 Lib/test/test_dict.py --- a/Lib/test/test_dict.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/test/test_dict.py Mon Nov 02 09:30:41 2015 +0200 @@ -603,7 +603,7 @@ class DictTest(unittest.TestCase): # (D) subclass defines __missing__ method returning a value # (E) subclass defines __missing__ method raising RuntimeError # (F) subclass sets __missing__ instance variable (no effect) - # (G) subclass doesn't define __missing__ at a all + # (G) subclass doesn't define __missing__ at all class D(dict): def __missing__(self, key): return 42 diff -r 83fa2e9b0038 Lib/test/test_io.py --- a/Lib/test/test_io.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/test/test_io.py Mon Nov 02 09:30:41 2015 +0200 @@ -15,7 +15,7 @@ ################################################################################ # When writing tests for io, it's important to test both the C and Python # implementations. This is usually done by writing a base test that refers to -# the type it is testing as a attribute. Then it provides custom subclasses to +# the type it is testing as an attribute. Then it provides custom subclasses to # test both implementations. This file has lots of examples. ################################################################################ diff -r 83fa2e9b0038 Lib/test/test_socket.py --- a/Lib/test/test_socket.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/test/test_socket.py Mon Nov 02 09:30:41 2015 +0200 @@ -4549,7 +4549,7 @@ class TestUnixDomain(unittest.TestCase): except OSError as e: if str(e) == "AF_UNIX path too long": self.skipTest( - "Pathname {0!a} is too long to serve as a AF_UNIX path" + "Pathname {0!a} is too long to serve as an AF_UNIX path" .format(path)) else: raise diff -r 83fa2e9b0038 Lib/test/test_userdict.py --- a/Lib/test/test_userdict.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/test/test_userdict.py Mon Nov 02 09:30:41 2015 +0200 @@ -171,7 +171,7 @@ class UserDictTest(mapping_tests.TestHas # (D) subclass defines __missing__ method returning a value # (E) subclass defines __missing__ method raising RuntimeError # (F) subclass sets __missing__ instance variable (no effect) - # (G) subclass doesn't define __missing__ at a all + # (G) subclass doesn't define __missing__ at all class D(collections.UserDict): def __missing__(self, key): return 42 diff -r 83fa2e9b0038 Lib/tkinter/__init__.py --- a/Lib/tkinter/__init__.py Mon Nov 02 00:39:56 2015 -0500 +++ b/Lib/tkinter/__init__.py Mon Nov 02 09:30:41 2015 +0200 @@ -1123,7 +1123,7 @@ class Misc: return self._bind(('bind', className), sequence, func, add, 0) def unbind_class(self, className, sequence): - """Unbind for a all widgets with bindtag CLASSNAME for event SEQUENCE + """Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE all functions.""" self.tk.call('bind', className , sequence, '') def mainloop(self, n=0): diff -r 83fa2e9b0038 Misc/HISTORY --- a/Misc/HISTORY Mon Nov 02 00:39:56 2015 -0500 +++ b/Misc/HISTORY Mon Nov 02 09:30:41 2015 +0200 @@ -12412,7 +12412,7 @@ Extension Modules - Bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly. -- Patch #1212117: os.stat().st_flags is now accessible as a attribute +- Patch #1212117: os.stat().st_flags is now accessible as an attribute if available on the platform. - Patch #1103951: Expose O_SHLOCK and O_EXLOCK in the posix module if diff -r 83fa2e9b0038 Misc/NEWS --- a/Misc/NEWS Mon Nov 02 00:39:56 2015 -0500 +++ b/Misc/NEWS Mon Nov 02 09:30:41 2015 +0200 @@ -2651,7 +2651,7 @@ Library - Issue #20170: Convert posixmodule to use Argument Clinic. -- Issue #21539: Add a *exists_ok* argument to `Pathlib.mkdir()` to mimic +- Issue #21539: Add an *exists_ok* argument to `Pathlib.mkdir()` to mimic `mkdir -p` and `os.makedirs()` functionality. When true, ignore FileExistsErrors. Patch by Berker Peksag. @@ -3240,7 +3240,7 @@ IDLE Changes are written to HOME/.idlerc/config-extensions.cfg. Original patch by Tal Einat. -- Issue #16233: A module browser (File : Class Browser, Alt+C) requires a +- Issue #16233: A module browser (File : Class Browser, Alt+C) requires an editor window with a filename. When Class Browser is requested otherwise, from a shell, output window, or 'Untitled' editor, Idle no longer displays an error box. It now pops up an Open Module box (Alt+M). If a valid name diff -r 83fa2e9b0038 Modules/_ssl.c --- a/Modules/_ssl.c Mon Nov 02 00:39:56 2015 -0500 +++ b/Modules/_ssl.c Mon Nov 02 09:30:41 2015 +0200 @@ -2996,7 +2996,7 @@ static PyObject * cadata_ascii = PyUnicode_AsASCIIString(cadata); if (cadata_ascii == NULL) { PyErr_SetString(PyExc_TypeError, - "cadata should be a ASCII string or a " + "cadata should be an ASCII string or a " "bytes-like object"); goto error; } @@ -3273,7 +3273,7 @@ static int ssl = SSL_get_app_data(s); assert(PySSLSocket_Check(ssl)); - /* The servername callback expects a argument that represents the current + /* The servername callback expects an argument that represents the current * SSL connection and that has a .context attribute that can be changed to * identify the requested hostname. Since the official API is the Python * level API we want to pass the callback a Python level object rather than diff -r 83fa2e9b0038 Modules/itertoolsmodule.c --- a/Modules/itertoolsmodule.c Mon Nov 02 00:39:56 2015 -0500 +++ b/Modules/itertoolsmodule.c Mon Nov 02 09:30:41 2015 +0200 @@ -1743,7 +1743,7 @@ PyDoc_STRVAR(starmap_doc, "starmap(function, sequence) --> starmap object\n\ \n\ Return an iterator whose values are returned from the function evaluated\n\ -with a argument tuple taken from the given sequence."); +with an argument tuple taken from the given sequence."); static PyTypeObject starmap_type = { PyVarObject_HEAD_INIT(NULL, 0) diff -r 83fa2e9b0038 Objects/longobject.c --- a/Objects/longobject.c Mon Nov 02 00:39:56 2015 -0500 +++ b/Objects/longobject.c Mon Nov 02 09:30:41 2015 +0200 @@ -4472,7 +4472,7 @@ PyObject * } if (k == 0) { - /* no progress; do a Euclidean step */ + /* no progress; do an Euclidean step */ if (l_divmod(a, b, NULL, &r) < 0) goto error; Py_DECREF(a); diff -r 83fa2e9b0038 Objects/unicodeobject.c --- a/Objects/unicodeobject.c Mon Nov 02 00:39:56 2015 -0500 +++ b/Objects/unicodeobject.c Mon Nov 02 09:30:41 2015 +0200 @@ -1865,7 +1865,7 @@ PyUnicode_Resize(PyObject **p_unicode, P return unicode_resize(p_unicode, length); } -/* Copy a ASCII or latin1 char* string into a Python Unicode string. +/* Copy an ASCII or latin1 char* string into a Python Unicode string. WARNING: The function doesn't copy the terminating null character and doesn't check the maximum character (may write a latin1 character in an @@ -7411,7 +7411,7 @@ error: } /* - * Encode a Unicode string to a Windows code page into a byte string using a + * Encode a Unicode string to a Windows code page into a byte string using an * error handler. * * Returns consumed characters if succeed, or raise an OSError and returns