cola: Add a 'commands' module for state-modifying commands
[git-cola.git] / jsonpickle / tags.py
blobf43ab21dfba05c76816bcbd991f512adc35bcd4d
1 """The jsonpickle.tags module provides the custom tags
2 used for pickling and unpickling Python objects.
4 These tags are keys into the flattened dictionaries
5 created by the Pickler class. The Unpickler uses
6 these custom key names to identify dictionaries
7 that need to be specially handled.
8 """
9 OBJECT = 'py/object'
10 TYPE = 'py/type'
11 REPR = 'py/repr'
12 REF = 'py/ref'
13 TUPLE = 'py/tuple'
14 SET = 'py/set'
16 # All reserved tag names
17 RESERVED = set([OBJECT, TYPE, REPR, REF, TUPLE, SET])