Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76792
| Date | 2014-08-22 22:42 +0800 |
|---|---|
| From | luofeiyu <elearn2014@gmail.com> |
| Subject | Re: Why can not initialize the class? |
| References | <53F752FA.8080902@gmail.com> <CACwCsY5P_8OUma6yMJxNCDd1WHtNrM0_ck2oebLv3mpPF20WCQ@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13289.1408718549.18130.python-list@python.org> (permalink) |
how to fix the code then? On 8/22/2014 10:36 PM, Larry Martell wrote: > The 'in' operator requires an iterable. When you do 'self.email = > email' set_email gets called and value is None.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Why can not initialize the class? luofeiyu <elearn2014@gmail.com> - 2014-08-22 22:42 +0800
csiph-web