mirror of
https://github.com/python/cpython.git
synced 2026-05-20 19:33:12 -04:00
for UserDict to be compatible with abcs, it must subclass object
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
"""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:
|
||||
|
||||
Reference in New Issue
Block a user