Typeerror
The KeyedDict object keeps a list of approved key values. If you try to assigned an unapproved key to a value, an exception is thrown. When you create the object, you give it a sequence (tuple, list, etc.) of key objects and then, when you set an item with a key, it will make sure that the key is...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (49): Keyed Dictionary Download |
Quick Test If Strings Are Identifiers script allows you to see if a string is an identifier.This script takes advantage of the special treatment of the __slots__ attribute with new-style python classes. The actual test is performed by the python interpreter and raises a TypeError if any slot...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Quick Test If Strings Are Identifiers Download |