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


Groups > comp.lang.python > #64398

Re: use class in class

Newsgroups comp.lang.python
Date 2014-01-21 03:11 -0800
References <8abb6a72-c258-4f08-a391-867d2680591d@googlegroups.com> <mailman.5775.1390301245.18130.python-list@python.org>
Message-ID <4b31ea37-a099-4e3e-a87a-332c16a16cc1@googlegroups.com> (permalink)
Subject Re: use class in class
From Robert Voigtländer <r.voigtlaender@gmail.com>

Show all headers | View raw


> I recommend using a different name for the instances here, probably
> 
> with a lower-case first letter. That would solve your problem _and_
> 
> make your code more readable.

Thanks a lot! I was confused by the debuger gifing me the wrong line as containing the error. I changed it regarding your advide. And it works.

Robert

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


Thread

use class in class Robert Voigtländer <r.voigtlaender@gmail.com> - 2014-01-21 02:20 -0800
  Re: use class in class Chris Angelico <rosuav@gmail.com> - 2014-01-21 21:47 +1100
    Re: use class in class Robert Voigtländer <r.voigtlaender@gmail.com> - 2014-01-21 03:11 -0800
  Re:use class in class Dave Angel <davea@davea.name> - 2014-01-21 07:04 -0500
    Re: use class in class Robert Voigtländer <r.voigtlaender@gmail.com> - 2014-01-21 07:24 -0800

csiph-web