Changeset - f09d1ad69c42
[Not reviewed]
0 1 0
Lance Edgar - 9 years ago 2015-08-08 22:13:51
ledgar@sacfoodcoop.com
Add `core.UNSPECIFIED` convenience object.
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rattail/core.py
Show inline comments
 
@@ -32,6 +32,11 @@ from uuid import uuid1
 
__all__ = ['Object', 'get_uuid']
 

	
 

	
 
# Arbitrary object used to explicitly denote an unspecified value, e.g. for
 
# comparison to an argument within a function signature.
 
UNSPECIFIED = object()
 

	
 

	
 
class Object(object):
 
    """
 
    Generic base class.
0 comments (0 inline, 0 general)