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
3bd0d620
Commit
3bd0d620
authored
Oct 20, 2018
by
Quan Tian
Committed by
Victor Stinner
Oct 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in comments (GH-9905)
parent
f192aeb9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Modules/gcmodule.c
Modules/gcmodule.c
+1
-1
Python/ceval.c
Python/ceval.c
+1
-1
Python/pyarena.c
Python/pyarena.c
+2
-2
No files found.
Modules/gcmodule.c
View file @
3bd0d620
...
...
@@ -504,7 +504,7 @@ move_unreachable(PyGC_Head *young, PyGC_Head *unreachable)
(
void
*
)
young
);
// relink gc_prev to prev element.
_PyGCHead_SET_PREV
(
gc
,
prev
);
// gc is not COLLECTING state after
e
here.
// gc is not COLLECTING state after here.
gc_clear_collecting
(
gc
);
prev
=
gc
;
}
...
...
Python/ceval.c
View file @
3bd0d620
...
...
@@ -3092,7 +3092,7 @@ main_loop:
/* There was an exception and a True return.
* We must manually unwind the EXCEPT_HANDLER block
* which was created when the exception was caught,
* otherwise the stack will be in an inconsisten state.
* otherwise the stack will be in an inconsisten
t
state.
*/
PyTryBlock
*
b
=
PyFrame_BlockPop
(
f
);
assert
(
b
->
b_type
==
EXCEPT_HANDLER
);
...
...
Python/pyarena.c
View file @
3bd0d620
...
...
@@ -49,7 +49,7 @@ struct _arena {
*/
block
*
a_head
;
/* Pointer to the block currently used for allocation. It
'
s
/* Pointer to the block currently used for allocation. Its
ab_next field should be NULL. If it is not-null after a
call to block_alloc(), it means a new block has been allocated
and a_cur should be reset to point it.
...
...
@@ -57,7 +57,7 @@ struct _arena {
block
*
a_cur
;
/* A Python list object containing references to all the PyObject
pointers associated with this area. They will be DECREFed
pointers associated with this are
n
a. They will be DECREFed
when the arena is freed.
*/
PyObject
*
a_objects
;
...
...
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