Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
5b48fa9f
Commit
5b48fa9f
authored
Apr 19, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling (inital), grammar (may translates) in documentation, comments
parent
0cf2cf2b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
Doc/whatsnew/2.2.rst
Doc/whatsnew/2.2.rst
+1
-1
Lib/gzip.py
Lib/gzip.py
+1
-1
Lib/optparse.py
Lib/optparse.py
+1
-1
Misc/HISTORY
Misc/HISTORY
+1
-1
Modules/_io/stringio.c
Modules/_io/stringio.c
+2
-2
No files found.
Doc/whatsnew/2.2.rst
View file @
5b48fa9f
...
...
@@ -758,7 +758,7 @@ Here are the changes 2.2 introduces:
operators.
* Python 2.2 supports some command-line arguments for testing whether code will
work
s
with the changed division semantics. Running python with :option:`-Q
work with the changed division semantics. Running python with :option:`-Q
warn <-Q>` will cause a warning to be issued whenever division is applied to two
integers. You can use this to find code that's affected by the change and fix
it. By default, Python 2.2 will simply perform classic division without a
...
...
Lib/gzip.py
View file @
5b48fa9f
...
...
@@ -55,7 +55,7 @@ class GzipFile(io.BufferedIOBase):
a file object.
When fileobj is not None, the filename argument is only used to be
included in the gzip file header, which may include
s
the original
included in the gzip file header, which may include the original
filename of the uncompressed file. It defaults to the filename of
fileobj, if discernible; otherwise, it defaults to the empty string,
and in this case the original filename is not included in the header.
...
...
Lib/optparse.py
View file @
5b48fa9f
...
...
@@ -914,7 +914,7 @@ class OptionContainer:
_short_opt : { string : Option }
dictionary mapping short option strings, eg. "-f" or "-X",
to the Option instances that implement them. If an Option
has multiple short option strings, it will appear
s
in this
has multiple short option strings, it will appear in this
dictionary multiple times. [1]
_long_opt : { string : Option }
dictionary mapping long option strings, eg. "--file" or
...
...
Misc/HISTORY
View file @
5b48fa9f
...
...
@@ -12831,7 +12831,7 @@ the first class with an applicable hook wins. Makes more sense.
- Changed the checks made in Py_Initialize() and Py_Finalize(). It is
now legal to call these more than once. The first call to
Py_Initialize() initializes, the first call to Py_Finalize()
finalizes. There's also a new API, Py_IsInitalized() which checks
finalizes. There's also a new API, Py_IsInit
i
alized() which checks
whether we are already initialized (in case you want to leave things
as they were).
...
...
Modules/_io/stringio.c
View file @
5b48fa9f
...
...
@@ -736,8 +736,8 @@ stringio_setstate(stringio *self, PyObject *state)
Py_DECREF
(
initarg
);
/* Restore the buffer state. Even if __init__ did initialize the buffer,
we have to initialize it again since __init__ may translate
s
the
newlines in the inital_value string. We clearly do not want that
we have to initialize it again since __init__ may translate the
newlines in the init
i
al_value string. We clearly do not want that
because the string value in the state tuple has already been translated
once by __init__. So we do not take any chance and replace object's
buffer completely. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment