line continuations with backslash
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Tue Aug 28 08:50:32 EDT 2001
27 Aug 2001 20:06:21 -0700, Paul Rubin <phr-n2001 at nightsong.com> pisze:
>> >>> dis.dis(compile(`long('123' '456')`, '', 'eval'))
>> 0 SET_LINENO 0
>> 3 LOAD_CONST 0 (123456L)
>> 6 RETURN_VALUE
>
> Wow! Thanks. I think I'll just use long('123' '456') unless I really
> run out of memory.
It's not evaluated at compilation time. Here `` caused it to be
evaluated before compilation.
--
__("< Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
\__/
^^ SYGNATURA ZASTĘPCZA
QRCZAK
More information about the Python-list
mailing list