Kaydet (Commit) 17527bed authored tarafından Benjamin Peterson's avatar Benjamin Peterson

for UserDict to be compatible with abcs, it must subclass object

üst 74c25774
"""A more or less complete user-defined wrapper around dictionary objects."""
class UserDict:
class UserDict(object):
def __init__(self, dict=None, **kwargs):
self.data = {}
if dict is not None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment