Added note about the adapted attribute in the module-level wrappers

Specifying it otherwise people expects the wrappers to have full datetime
semantics: see ticket #136.
This commit is contained in:
Daniele Varrazzo 2012-10-27 22:24:48 +01:00
parent e109024d39
commit 10476200fd

View File

@ -294,6 +294,12 @@ The module exports the following constructors and singletons:
This function constructs an object capable of holding a binary (long)
string value.
.. note::
All the adapters returned by the module level factories (`!Binary`,
`!Date`, `!Time`, `!Timestamp` and the `!*FromTicks` variants) expose the
wrapped object (a regular Python object such as `!datetime`) in an
`!adapted` attribute.
.. data:: STRING