TypeError: cannot create weak reference to 'builtin_function_or_method' object
holger krekel
pyth at devel.trillke.net
Sat Aug 31 14:52:57 EDT 2002
Kaleb Pederson wrote:
> I have some code as follows:
>
> ...
> print type(None) != types.StringType
> ...
>
> Which results in:
> TypeError: cannot create weak reference to 'builtin_function_or_method'
> object
strange. in fact, doubly strange because i don't get the meaning of
the above line.
Can you post the real code (the whole method) along with a traceback?
holger
More information about the Python-list
mailing list