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


Groups > comp.lang.python > #76792 > unrolled thread

Re: Why can not initialize the class?

Started byluofeiyu <elearn2014@gmail.com>
First post2014-08-22 22:42 +0800
Last post2014-08-22 22:42 +0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Why can not initialize the class? luofeiyu <elearn2014@gmail.com> - 2014-08-22 22:42 +0800

#76792 — Re: Why can not initialize the class?

Fromluofeiyu <elearn2014@gmail.com>
Date2014-08-22 22:42 +0800
SubjectRe: Why can not initialize the class?
Message-ID<mailman.13289.1408718549.18130.python-list@python.org>
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. 

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web