Use of long suffixPYL-E1606
l
or L
is used to mark a long integer. This will not work in Python 3, since int
and long
types have merged.
Bad practice
In Python 2
my_var = 1234l
Recommended
my_var = 1234
l
or L
is used to mark a long integer. This will not work in Python 3, since int
and long
types have merged.
In Python 2
my_var = 1234l
my_var = 1234