The following code produces a syntax error. Does anyone know why syntax errors result when using object attributes?
Python 3.7.4 (default, Jul 27 2020, 09:35:23)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>1.__sizeof__()
File "<stdin
1.__sizeof__()
^
SyntaxError: invalid syntax
>>>