diff options
author | Georg Brandl <georg@python.org> | 2007-11-27 12:43:08 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-11-27 12:43:08 (GMT) |
commit | 2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd (patch) | |
tree | fa2e1af6bc316f3cc04abdebff56954c984c7b33 /Tools | |
parent | ff737954f3ee3005236133fc51b55a508b11aa06 (diff) | |
download | cpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.zip cpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.tar.gz cpython-2e0b7557b19293223cfd4f5f21ae5d80ccc55bbd.tar.bz2 |
Futher update docs after unbound method removal.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/bgen/bgen/bgenObjectDefinition.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/bgen/bgen/bgenObjectDefinition.py b/Tools/bgen/bgen/bgenObjectDefinition.py index 6f9bd53..d926283 100644 --- a/Tools/bgen/bgen/bgenObjectDefinition.py +++ b/Tools/bgen/bgen/bgenObjectDefinition.py @@ -236,8 +236,8 @@ class PEP252Mixin: def assertions(self): # Check that various things aren't overridden. If they are it could # signify a bgen-client that has been partially converted to PEP252. - assert self.outputGetattr.im_func == PEP252Mixin.outputGetattr.im_func - assert self.outputSetattr.im_func == PEP252Mixin.outputSetattr.im_func + assert self.outputGetattr.__func__ == PEP252Mixin.outputGetattr.__func__ + assert self.outputSetattr.__func__ == PEP252Mixin.outputSetattr.__func__ assert self.outputGetattrBody == None assert self.outputGetattrHook == None assert self.basechain == "NULL" |