--- a/thirdparty/google_appengine/google/appengine/api/datastore_types.py Thu Feb 12 10:24:37 2009 +0000
+++ b/thirdparty/google_appengine/google/appengine/api/datastore_types.py Thu Feb 12 12:30:36 2009 +0000
@@ -942,15 +942,7 @@
users.User,
])
-_RAW_PROPERTY_TYPES = frozenset([
- Blob,
- Text,
-])
-
-_STRING_TYPES = frozenset([
- str,
- unicode,
-])
+_RAW_PROPERTY_TYPES = (Blob, Text)
def ValidatePropertyInteger(name, value):
"""Raises an exception if the supplied integer is invalid.
@@ -1143,7 +1135,7 @@
def DatetimeToTimestamp(value):
- """Converts a datetime.datetime to seconds since the epoch, as a float.
+ """Converts a datetime.datetime to microseconds since the epoch, as a float.
Args:
value: datetime.datetime