Commits

Jonathan Eunice  committed 2e5ba8b

moved NullType to separate module

  • Participants
  • Parent commits b4dd06a

Comments (0)

Files changed (3)

+import six
+
+class NullType(object):
+    """
+    A 'null' type different from, but parallel to, None. Core function
+    is representing emptyness in a way that doesn't overload None.
+    
+    Instantiate to create desired Null values.
+    """
+    if six.PY3:
+        def bool(self):
+            """I am always False."""
+            return False
+    else:
+        def __nonzero__(self):
+            """I am always False."""
+            return False
 
 import re
 import six
-
-class NullType(object):
-    """
-    A 'null' type different from, but parallel to, None. Core function
-    is representing emptyness in a way that doesn't overload None.
-    
-    Instantiate the desired Null values.
-    """
-    if six.PY3:
-        def bool(self):
-            """I am always False."""
-            return False
-    else:
-        def __nonzero__(self):
-            """I am always False."""
-            return False
+from nulltype import NullType
     
 Default = NullType()
 
 
 setup(
     name='quoter',
-    version=verno("0.103"),
+    version=verno("0.111"),
     author='Jonathan Eunice',
     author_email='jonathan.eunice@gmail.com',
     description="A simple way to quote and wrap text",