A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-April/023663.html below:

[Python-Dev] Making None a keyword

[Python-Dev] Making None a keyword [Python-Dev] Making None a keywordAlex Martelli aleax@aleax.it
Fri, 26 Apr 2002 19:13:43 +0200
On Friday 26 April 2002 07:11 pm, Patrick K. O'Brien wrote:
	...
> >>> 2.__class__

This of course is being parsed as the floating literal 2. followed by
the identifier __class__ ...

> Looks like int is one of the few literals that doesn't allow this. But
> floats and longs do. Hmmm. Just FYI. ;-)

There's no int literal in the above.  Try putting a space after the
digit 2 , so that there IS an int literal ...


Alex




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4