Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #26457 > unrolled thread
| Started by | Dave Angel <d@davea.name> |
|---|---|
| First post | 2012-08-03 18:20 -0400 |
| Last post | 2012-08-03 18:20 -0400 |
| 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.
Re: attribute is accessed from Nonetype Dave Angel <d@davea.name> - 2012-08-03 18:20 -0400
| From | Dave Angel <d@davea.name> |
|---|---|
| Date | 2012-08-03 18:20 -0400 |
| Subject | Re: attribute is accessed from Nonetype |
| Message-ID | <mailman.2918.1344032464.4697.python-list@python.org> |
On 08/03/2012 03:01 AM, Prasad, Ramit wrote: >> Also, please use the names correctly and consistently. The None object >> (yes, there is only one) is not the same as a none object. And there is >> no standard type called Nonetype. > To be fair, this is not very clear to a beginner. > >>>> len(None) # Python 2.6 > TypeError: object of type 'NoneType' has no len() > I'm sorry, what's not clear? Nonetype is not the same as NoneType. Python is case sensitive. -- DaveA
Back to top | Article view | comp.lang.python
csiph-web