Skip to content

Check Dict origin

Compare
Choose a tag to compare
@rolobio rolobio released this 31 May 17:10
· 40 commits to master since this release
2b74b9c

A Dict's origin can be confirmed using in operator.

>>> bob = Person(name='Bob')
>>> bob in Person
True
>>> bob in Car
False