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
200a6157
Commit
200a6157
authored
May 30, 2016
by
Martin Panter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27125: Remove duplicated words from documentation and comments
parent
f50417b7
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
10 deletions
+10
-10
Doc/howto/pyporting.rst
Doc/howto/pyporting.rst
+1
-1
Doc/library/tix.rst
Doc/library/tix.rst
+1
-1
Lib/ctypes/macholib/README.ctypes
Lib/ctypes/macholib/README.ctypes
+1
-1
Lib/idlelib/idle_test/README.txt
Lib/idlelib/idle_test/README.txt
+1
-1
Lib/lib-tk/Tix.py
Lib/lib-tk/Tix.py
+2
-2
Lib/test/test_socket.py
Lib/test/test_socket.py
+1
-1
Modules/_ctypes/_ctypes.c
Modules/_ctypes/_ctypes.c
+1
-1
Objects/setobject.c
Objects/setobject.c
+1
-1
Objects/stringobject.c
Objects/stringobject.c
+1
-1
No files found.
Doc/howto/pyporting.rst
View file @
200a6157
...
@@ -346,7 +346,7 @@ your tests under multiple Python interpreters is tox_. You can then integrate
...
@@ -346,7 +346,7 @@ your tests under multiple Python interpreters is tox_. You can then integrate
tox with your continuous integration system so that you never accidentally break
tox with your continuous integration system so that you never accidentally break
Python 2 or 3 support.
Python 2 or 3 support.
You may also want to use
use
the ``-bb`` flag with the Python 3 interpreter to
You may also want to use the ``-bb`` flag with the Python 3 interpreter to
trigger an exception when you are comparing bytes to strings. Usually it's
trigger an exception when you are comparing bytes to strings. Usually it's
simply ``False``, but if you made a mistake in your separation of text/binary
simply ``False``, but if you made a mistake in your separation of text/binary
data handling you may be accidentally comparing text and binary data. This flag
data handling you may be accidentally comparing text and binary data. This flag
...
...
Doc/library/tix.rst
View file @
200a6157
...
@@ -151,7 +151,7 @@ Basic Widgets
...
@@ -151,7 +151,7 @@ Basic Widgets
The `LabelEntry
The `LabelEntry
<http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelEntry.htm>`_
<http://tix.sourceforge.net/dist/current/man/html/TixCmd/tixLabelEntry.htm>`_
widget packages an entry widget and a label into one mega widget. It can
be used
widget packages an entry widget and a label into one mega widget. It can
be used to simplify the creation of "entry-form" type of interface.
be used to simplify the creation of "entry-form" type of interface.
.. Python Demo of:
.. Python Demo of:
...
...
Lib/ctypes/macholib/README.ctypes
View file @
200a6157
Files in this directory
from
from Bob Ippolito's py2app.
Files in this directory
come
from Bob Ippolito's py2app.
License: Any components of the py2app suite may be distributed under
License: Any components of the py2app suite may be distributed under
the MIT or PSF open source licenses.
the MIT or PSF open source licenses.
...
...
Lib/idlelib/idle_test/README.txt
View file @
200a6157
...
@@ -16,7 +16,7 @@ python -m idlelib.idle_test.htest
...
@@ -16,7 +16,7 @@ python -m idlelib.idle_test.htest
The idle directory, idlelib, has over 60 xyz.py files. The idle_test
The idle directory, idlelib, has over 60 xyz.py files. The idle_test
subdirectory should contain a test_xyz.py for each, where 'xyz' is lowercased
subdirectory should contain a test_xyz.py for each, where 'xyz' is lowercased
even if xyz.py is not. Here is a possible template, with the blanks after
after
even if xyz.py is not. Here is a possible template, with the blanks after
'.' and 'as', and before and after '_' to be filled in.
'.' and 'as', and before and after '_' to be filled in.
import unittest
import unittest
...
...
Lib/lib-tk/Tix.py
View file @
200a6157
...
@@ -1052,8 +1052,8 @@ class InputOnly(TixWidget):
...
@@ -1052,8 +1052,8 @@ class InputOnly(TixWidget):
class
LabelEntry
(
TixWidget
):
class
LabelEntry
(
TixWidget
):
"""LabelEntry - Entry field with label. Packages an entry widget
"""LabelEntry - Entry field with label. Packages an entry widget
and a label into one mega widget. It can be used
be used to simplify
and a label into one mega widget. It can be used
to simplify the creation
the creation
of ``entry-form'' type of interface.
of ``entry-form'' type of interface.
Subwidgets Class
Subwidgets Class
---------- -----
---------- -----
...
...
Lib/test/test_socket.py
View file @
200a6157
...
@@ -1755,7 +1755,7 @@ class TIPCThreadableTest(unittest.TestCase, ThreadableTest):
...
@@ -1755,7 +1755,7 @@ class TIPCThreadableTest(unittest.TestCase, ThreadableTest):
self
.
conn
,
self
.
connaddr
=
self
.
srv
.
accept
()
self
.
conn
,
self
.
connaddr
=
self
.
srv
.
accept
()
def
clientSetUp
(
self
):
def
clientSetUp
(
self
):
# The is a hittable race between serverExplicitReady() and the
# The
re
is a hittable race between serverExplicitReady() and the
# accept() call; sleep a little while to avoid it, otherwise
# accept() call; sleep a little while to avoid it, otherwise
# we could get an exception
# we could get an exception
time
.
sleep
(
0.1
)
time
.
sleep
(
0.1
)
...
...
Modules/_ctypes/_ctypes.c
View file @
200a6157
...
@@ -55,7 +55,7 @@ from_address(addr)
...
@@ -55,7 +55,7 @@ from_address(addr)
from_param(obj)
from_param(obj)
- typecheck and convert a Python object into a C function call parameter
- typecheck and convert a Python object into a C function call parameter
t
he result may be an instance of the type, or an integer or tuple
T
he result may be an instance of the type, or an integer or tuple
(typecode, value[, obj])
(typecode, value[, obj])
instance methods/properties
instance methods/properties
...
...
Objects/setobject.c
View file @
200a6157
...
@@ -784,7 +784,7 @@ frozenset_hash(PyObject *self)
...
@@ -784,7 +784,7 @@ frozenset_hash(PyObject *self)
hash
*=
PySet_GET_SIZE
(
self
)
+
1
;
hash
*=
PySet_GET_SIZE
(
self
)
+
1
;
while
(
set_next
(
so
,
&
pos
,
&
entry
))
{
while
(
set_next
(
so
,
&
pos
,
&
entry
))
{
/* Work to increase the bit dispersion for closely spaced hash
/* Work to increase the bit dispersion for closely spaced hash
values. Th
e
is important because some use cases have many
values. Th
is
is important because some use cases have many
combinations of a small number of elements with nearby
combinations of a small number of elements with nearby
hashes so that many distinct combinations collapse to only
hashes so that many distinct combinations collapse to only
a handful of distinct hash values. */
a handful of distinct hash values. */
...
...
Objects/stringobject.c
View file @
200a6157
...
@@ -35,7 +35,7 @@ static PyObject *interned;
...
@@ -35,7 +35,7 @@ static PyObject *interned;
For PyString_FromString(), the parameter `str' points to a null-terminated
For PyString_FromString(), the parameter `str' points to a null-terminated
string containing exactly `size' bytes.
string containing exactly `size' bytes.
For PyString_FromStringAndSize(), the parameter
the parameter
`str' is
For PyString_FromStringAndSize(), the parameter `str' is
either NULL or else points to a string containing at least `size' bytes.
either NULL or else points to a string containing at least `size' bytes.
For PyString_FromStringAndSize(), the string in the `str' parameter does
For PyString_FromStringAndSize(), the string in the `str' parameter does
not have to be null-terminated. (Therefore it is safe to construct a
not have to be null-terminated. (Therefore it is safe to construct a
...
...
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