mirror of
https://github.com/python/cpython.git
synced 2026-01-30 22:55:41 +00:00
name kwargs kwargs
This commit is contained in:
parent
ad33d72361
commit
3e554d7b8a
@ -172,8 +172,8 @@ class Dict:
|
||||
|
||||
"""Dict wrapper for convenient access of values through attributes."""
|
||||
|
||||
def __init__(self, **args):
|
||||
self.__dict__.update(args)
|
||||
def __init__(self, **kwargs):
|
||||
self.__dict__.update(kwargs)
|
||||
|
||||
def __cmp__(self, other):
|
||||
if isinstance(other, self.__class__):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user