-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1(2+3)
: The value Int(1) is generally not callable! - hint for user?
#117
Comments
phorward
changed the title
bug: The value Int(1) is generally not callable!
bug: Aug 7, 2023
1(2+3)
: The value Int(1) is generally not callable!
This is not considered as a bug anymore. It is equal when calling in Python: >>> 1(2+3)
<stdin>:1: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable
>>> 1,2
(1, 2) A good solution would be to provide an adequate warning as shown above. |
phorward
changed the title
bug:
Aug 15, 2023
1(2+3)
: The value Int(1) is generally not callable!1(2+3)
: The value Int(1) is generally not callable! - hint for user?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The input
1(2+3)
should not be parsed as a function call.The text was updated successfully, but these errors were encountered: