Trees | Indices | Help |
|
---|
|
Wrap a value so it is hard to leak it accidentally.
>>> x = Private("foo") >>> print "Value: %s" % x Value: <redacted> >>> print "Value: {0}".format(x) Value: <redacted> >>> x.upper() == "FOO" True
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
str(x)
|
repr(x)
|
hash(x)
|
default object formatter
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Apr 4 13:44:07 2016 | http://epydoc.sourceforge.net |