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
f7d72e48
Commit
f7d72e48
authored
Jul 06, 2019
by
Min ho Kim
Committed by
Brett Cannon
Jul 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos (GH-14435)
parent
10e5c667
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
Misc/NEWS.d/3.8.0a1.rst
Misc/NEWS.d/3.8.0a1.rst
+3
-3
Misc/NEWS.d/3.8.0a3.rst
Misc/NEWS.d/3.8.0a3.rst
+1
-1
Misc/NEWS.d/3.8.0b1.rst
Misc/NEWS.d/3.8.0b1.rst
+1
-1
Modules/_abc.c
Modules/_abc.c
+2
-2
Modules/mathmodule.c
Modules/mathmodule.c
+1
-1
No files found.
Misc/NEWS.d/3.8.0a1.rst
View file @
f7d72e48
...
...
@@ -550,7 +550,7 @@ The *lineno* and *col_offset* attributes of the AST for decorated function
and class refer now to the position of the corresponding ``def``, ``async
def`` and ``class`` instead of the position of the first decorator. This
leads to more correct line reporting in tracing. This is the only case when
the position of child AST nodes can prece
ed
the position of the parent AST
the position of child AST nodes can prece
de
the position of the parent AST
node.
..
...
...
@@ -2366,7 +2366,7 @@ running external programs like ``cmd /c ver``.
Previously, calling the strftime() method on a datetime object with a
trailing '%' in the format string would result in an exception. However,
this only occured when the datetime C module was being used; the python
this only occur
r
ed when the datetime C module was being used; the python
implementation did not match this behavior. Datetime is now PEP-399
compliant, and will not throw an exception on a trailing '%'.
...
...
@@ -5278,7 +5278,7 @@ Improved error handling and fixed a reference leak in
.. nonce: zncfvW
.. section: Library
Deleting a key from a read-only dbm database raises module specfic error
Deleting a key from a read-only dbm database raises module spec
i
fic error
instead of KeyError.
..
...
...
Misc/NEWS.d/3.8.0a3.rst
View file @
f7d72e48
...
...
@@ -173,7 +173,7 @@ Update Unicode databases to version 12.0.0.
.. nonce: dZemNt
.. section: Core and Builtins
Fix a segfault occuring when sorting a list of heterogeneous values. Patch
Fix a segfault occur
r
ing when sorting a list of heterogeneous values. Patch
contributed by Rémi Lapeyre and Elliot Gorokhovsky.
..
...
...
Misc/NEWS.d/3.8.0b1.rst
View file @
f7d72e48
...
...
@@ -1613,7 +1613,7 @@ versions.
.. section: Documentation
Improve documentation of the stdin, stdout, and stderr arguments of of the
``asyncio.subprocess_exec`` function to spec
fic
y which values are supported.
``asyncio.subprocess_exec`` function to spec
if
y which values are supported.
Also mention that decoding as text is not supported.
Add a few tests to verify that the various values passed to the std*
...
...
Modules/_abc.c
View file @
f7d72e48
...
...
@@ -554,7 +554,7 @@ end:
}
// Return -1 when exception occured.
// Return -1 when exception occur
r
ed.
// Return 1 when result is set.
// Return 0 otherwise.
static
int
subclasscheck_check_registry
(
_abc_data
*
impl
,
PyObject
*
subclass
,
...
...
@@ -666,7 +666,7 @@ _abc__abc_subclasscheck_impl(PyObject *module, PyObject *self,
/* 5. Check if it's a subclass of a registered class (recursive). */
if
(
subclasscheck_check_registry
(
impl
,
subclass
,
&
result
))
{
// Exception occured or result is set.
// Exception occur
r
ed or result is set.
goto
end
;
}
...
...
Modules/mathmodule.c
View file @
f7d72e48
...
...
@@ -1552,7 +1552,7 @@ prove that after that line is executed, we have
(a - 1)**2 < (n >> 2*(c - d)) < (a + 1)**2
To faciliate the proof, we make some changes of notation. Write `m` for
To facili
t
ate the proof, we make some changes of notation. Write `m` for
`n >> 2*(c-d)`, and write `b` for the new value of `a`, so
b = (a << d - e - 1) + (n >> 2*c - e - d + 1) // 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