Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

How to maintain keys in TransformDict? #21

Open
oldman1991 opened this issue Jun 11, 2018 · 0 comments
Open

How to maintain keys in TransformDict? #21

oldman1991 opened this issue Jun 11, 2018 · 0 comments

Comments

@oldman1991
Copy link

oldman1991 commented Jun 11, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant