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
995d4cdd
Commit
995d4cdd
authored
Feb 01, 2009
by
Mark Dickinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove exception for non-NULL tp_compare that was introduced in r69188.
parent
c48d8340
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
Objects/typeobject.c
Objects/typeobject.c
+0
-7
No files found.
Objects/typeobject.c
View file @
995d4cdd
...
...
@@ -3886,13 +3886,6 @@ PyType_Ready(PyTypeObject *type)
goto
error
;
}
/* Check reserved slots */
if
(
type
->
tp_compare
)
{
PyErr_Format
(
PyExc_TypeError
,
"type %s has tp_compare"
,
type
->
tp_name
);
}
/* All done -- set the ready flag */
assert
(
type
->
tp_dict
!=
NULL
);
type
->
tp_flags
=
...
...
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