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
ba1b4abd
Commit
ba1b4abd
authored
Sep 18, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spell TraceBack with capital B
parent
0f805c47
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
Include/traceback.h
Include/traceback.h
+2
-2
Python/ceval.c
Python/ceval.c
+1
-1
Python/traceback.c
Python/traceback.c
+2
-2
No files found.
Include/traceback.h
View file @
ba1b4abd
...
...
@@ -38,8 +38,8 @@ int PyTraceBack_Store Py_PROTO((PyObject *));
int
PyTraceBack_Print
Py_PROTO
((
PyObject
*
,
PyObject
*
));
/* Reveale traceback type so we can typecheck traceback objects */
extern
PyTypeObject
PyTrace
b
ack_Type
;
#define PyTrace
back_Check(v) ((v)->ob_type == &PyTraceb
ack_Type)
extern
PyTypeObject
PyTrace
B
ack_Type
;
#define PyTrace
Back_Check(v) ((v)->ob_type == &PyTraceB
ack_Type)
#ifdef __cplusplus
}
...
...
Python/ceval.c
View file @
ba1b4abd
...
...
@@ -912,7 +912,7 @@ eval_code2(co, globals, locals,
DECREF
(
u
);
u
=
NULL
;
}
else
if
(
!
PyTrace
b
ack_Check
(
u
))
{
else
if
(
!
PyTrace
B
ack_Check
(
u
))
{
err_setstr
(
TypeError
,
"raise 3rd arg must be traceback or None"
);
goto
raise_error
;
...
...
Python/traceback.c
View file @
ba1b4abd
...
...
@@ -68,8 +68,8 @@ tb_dealloc(tb)
DEL
(
tb
);
}
#define Tracebacktype PyTrace
b
ack_Type
#define is_tracebackobject PyTrace
b
ack_Check
#define Tracebacktype PyTrace
B
ack_Type
#define is_tracebackobject PyTrace
B
ack_Check
typeobject
Tracebacktype
=
{
OB_HEAD_INIT
(
&
Typetype
)
...
...
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