Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45794
| References | <913d7fc1-4608-4ff5-8b51-2ae2cd67781a@googlegroups.com> <110b4762-392d-4430-b1aa-6e8168ced9f3@googlegroups.com> |
|---|---|
| Date | 2013-05-23 20:27 +1000 |
| Subject | Re: Scope of a class..help??? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2007.1369304850.3114.python-list@python.org> (permalink) |
On Thu, May 23, 2013 at 8:23 PM, <lokeshkoppaka@gmail.com> wrote: > Thanks Chris Angelico, > i am new to python can you suggest me how to remove the error and solve it. > so,how can i create an instance for "Node" in that function??,is, it not possible to create an instance in such a way? The problem isn't the instantiation; the problem's further down, where you reuse the name "Node" to iterate over your list. Rename that to something else and you should be right. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Scope of a class..help??? lokeshkoppaka@gmail.com - 2013-05-23 02:51 -0700
Re: Scope of a class..help??? Chris Angelico <rosuav@gmail.com> - 2013-05-23 20:00 +1000
Re: Scope of a class..help??? Peter Otten <__peter__@web.de> - 2013-05-23 12:18 +0200
Re: Scope of a class..help??? lokeshkoppaka@gmail.com - 2013-05-23 03:23 -0700
Re: Scope of a class..help??? Chris Angelico <rosuav@gmail.com> - 2013-05-23 20:27 +1000
Re: Scope of a class..help??? lokeshkoppaka@gmail.com - 2013-05-23 03:25 -0700
Re: Scope of a class..help??? Chris Angelico <rosuav@gmail.com> - 2013-05-23 21:40 +1000
Re: Scope of a class..help??? Tim Roberts <timr@probo.com> - 2013-05-23 22:05 -0700
csiph-web