This repository was archived by the owner on Dec 2, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
This repository was archived by the owner on Dec 2, 2021. It is now read-only.
How to maintain keys in TransformDict? #21
Open
@oldman1991
Description
I see the demo:
'''
>>> d = TransformDict(str.lower)
>>> d['Foo'] = 5
>>> d['foo'] == d['FOO'] == d['Foo'] == 5
True
>>> set(d.keys())
{'Foo'}
'''
but , i dont know the object how to maintain the keys.
thanks
Metadata
Metadata
Assignees
Labels
No labels