line continuations with backslash

Paul Rubin phr-n2001 at nightsong.com
Mon Aug 27 23:06:21 EDT 2001


bokr at accessone.com (Bengt Richter) writes:
> Maybe this?
> 
> >>> 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.



More information about the Python-list mailing list