![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __new__ |
A long string type. Strings of any length can be stored in the datastore using this type. It behaves identically to the Python unicode type, except for the constructor, which only accepts str and unicode arguments.
def google.appengine.api.datastore_types.Text.__new__ | ( | cls, | |
arg = None , |
|||
encoding = None |
|||
) |
Constructor. We only accept unicode and str instances, the latter with encoding. Args: arg: optional unicode or str instance; default u'' encoding: optional encoding; disallowed when isinstance(arg, unicode), defaults to 'ascii' when isinstance(arg, str);