summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-09-18 21:29:36 (GMT)
committerGuido van Rossum <guido@python.org>1995-09-18 21:29:36 (GMT)
commit9d78d8d2fbfc4517cbdcdf3ce064ef3a24afc60b (patch)
tree0c6036c742b85517426a737dbde3deb4c950562f /Python
parent8ca687a68ef3be5ef48f99c0991f939917828f5f (diff)
downloadcpython-9d78d8d2fbfc4517cbdcdf3ce064ef3a24afc60b.zip
cpython-9d78d8d2fbfc4517cbdcdf3ce064ef3a24afc60b.tar.gz
cpython-9d78d8d2fbfc4517cbdcdf3ce064ef3a24afc60b.tar.bz2
spell TraceBack with capital B
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c2
-rw-r--r--Python/traceback.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index d725d35..be1e174 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -912,7 +912,7 @@ eval_code2(co, globals, locals,
DECREF(u);
u = NULL;
}
- else if (!PyTraceback_Check(u)) {
+ else if (!PyTraceBack_Check(u)) {
err_setstr(TypeError,
"raise 3rd arg must be traceback or None");
goto raise_error;
diff --git a/Python/traceback.c b/Python/traceback.c
index 1f803da..57502a1 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -68,8 +68,8 @@ tb_dealloc(tb)
DEL(tb);
}
-#define Tracebacktype PyTraceback_Type
-#define is_tracebackobject PyTraceback_Check
+#define Tracebacktype PyTraceBack_Type
+#define is_tracebackobject PyTraceBack_Check
typeobject Tracebacktype = {
OB_HEAD_INIT(&Typetype)