mirror of
https://github.com/python/cpython.git
synced 2025-10-28 01:00:34 +00:00
keyword arguments and faster calls
This commit is contained in:
parent
11a3f0c2bc
commit
681d79aaf3
7 changed files with 782 additions and 605 deletions
|
|
@ -68,7 +68,10 @@ tb_dealloc(tb)
|
|||
DEL(tb);
|
||||
}
|
||||
|
||||
static typeobject Tracebacktype = {
|
||||
#define Tracebacktype PyTraceback_Type
|
||||
#define is_tracebackobject PyTraceback_Check
|
||||
|
||||
typeobject Tracebacktype = {
|
||||
OB_HEAD_INIT(&Typetype)
|
||||
0,
|
||||
"traceback",
|
||||
|
|
@ -85,8 +88,6 @@ static typeobject Tracebacktype = {
|
|||
0, /*tp_as_mapping*/
|
||||
};
|
||||
|
||||
#define is_tracebackobject(v) ((v)->ob_type == &Tracebacktype)
|
||||
|
||||
static tracebackobject *
|
||||
newtracebackobject(next, frame, lasti, lineno)
|
||||
tracebackobject *next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue