Why not 3.__class__ ?
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Mon Sep 17 08:35:20 EDT 2001
Mon, 17 Sep 2001 10:02:25 +0200, Alex Martelli <aleax at aleax.it> pisze:
> But tokenizing "3.whatever" as anything different from a "3." token
> followed by a "whatever" token would break backwards compatibility
Is there any case in the grammar when a literal is directly followed
by an identifier?
>>>> 3.and 4
> 4
Here it's not an identifier but a keyword.
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list