summaryrefslogtreecommitdiff
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-12 03:43:35 +0000
committerGuido van Rossum <guido@python.org>2001-08-12 03:43:35 +0000
commit8de8680d071df3bddcb5d56a06d11697a32a922e (patch)
tree3031808e4a4c939b423871b8d0b6c38b786b3525 /Lib/difflib.py
parent9d4fe4298ece1acf3401c6b4849d2cb56238d710 (diff)
downloadcpython-git-8de8680d071df3bddcb5d56a06d11697a32a922e.tar.gz
Temporary stop-gap fix for dynamic classes, so they pass the test.
XXX This is not sufficient: if a dynamic class has no __repr__ method (for instance), but later one is added, that doesn't add a tp_repr slot, so repr() doesn't call the __repr__ method. To make this work, I'll have to add default implementations of several slots to 'object'. XXX Also, dynamic types currently only inherit slots from their dominant base.
Diffstat (limited to 'Lib/difflib.py')
0 files changed, 0 insertions, 0 deletions