"Marko Rauhamaa" <ma...@pacujo.net> a écrit dans le message de news:87k2fefcyu....@elektro.pacujo.net...
"ast" <nomail@com.invalid>:123.bit_length()SyntaxError: invalid syntaxI fell into that trap myself. CPython's lexical analyzer can't handle a dot after an integer literal so you must add a space in between "123" and ".". Marko
Indeed. Maybe because of a confusion with the decimal point.Thx
-- https://mail.python.org/mailman/listinfo/python-list