Simple Object assignment giving me errors
rosuav at gmail.com
Wed Feb 12 22:48:31 CET 2014
On Thu, Feb 13, 2014 at 8:42 AM, Nir <nirchernia at gmail.com> wrote:
> Also, UserDict is a built in module. I just typed it out so as to give reference or any clue as to why I cant instantiate jeez.
Recommendation for next time: Don't type it out, copy and paste it.
Show the actual code you ran, and the actual error message.
As a debugging/exploration technique, btw, copying in the definition
of something from the standard library is often useful. You can then
cut it down to the barest minimum that does what you want, and post
that. But if you're using UserDict exactly as it is in the stdlib, you
can simply show your import statement and we'll know what you mean.
More information about the Python-list