Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66100

Re: Simple Object assignment giving me errors

References <d7d2865e-4184-4c05-b1bd-b4f16547b2f2@googlegroups.com> <5697d584-28ba-44e6-a60a-cb5ff9ae19aa@googlegroups.com>
Date 2014-02-13 08:48 +1100
Subject Re: Simple Object assignment giving me errors
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.6796.1392241714.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Feb 13, 2014 at 8:42 AM, Nir <nirchernia@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.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Simple Object assignment giving me errors Nir <nirchernia@gmail.com> - 2014-02-12 13:18 -0800
  Re: Simple Object assignment giving me errors Chris Angelico <rosuav@gmail.com> - 2014-02-13 08:26 +1100
  Re:Simple Object assignment giving me errors Dave Angel <davea@davea.name> - 2014-02-12 16:41 -0500
  Re: Simple Object assignment giving me errors Nir <nirchernia@gmail.com> - 2014-02-12 13:42 -0800
    Re: Simple Object assignment giving me errors Chris Angelico <rosuav@gmail.com> - 2014-02-13 08:48 +1100
    Re: Simple Object assignment giving me errors Jerry Hill <malaclypse2@gmail.com> - 2014-02-12 17:09 -0500
  Re: Simple Object assignment giving me errors Nir <nirchernia@gmail.com> - 2014-02-12 14:25 -0800

csiph-web