]> granicus.if.org Git - python/commit
Remove unnecessary check in tests for slots allowed.
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 16 Jul 2003 16:08:23 +0000 (16:08 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 16 Jul 2003 16:08:23 +0000 (16:08 +0000)
commit1c7a0ea05624b7967200e07ee345d26564b11b66
treecf9b315d09f8529f5311d93482baeb875db6366f
parent2cd773160d8ffdf40885e578cfc3919d4eb48171
Remove unnecessary check in tests for slots allowed.

The !PyType_Check(base) check snuck in as part of rev 2.215, but was
unrelated to the SF patch that is mentioned in the checkin comment.
The test is currently unnecessary because base is set to the return
value of best_bases(), which returns a type or NULL.
Objects/typeobject.c