New submission from Sanyam Khurana <sanyam.khuran...@gmail.com>:

I noticed this while reviewing the code.

The print function works like:

```
print       (5)
```

This works with user-defined function too.

Ideally, this is a function call and we should return an error stating that 
there shouldn't be any spaces between the function name and the parameters 
listed.

This essentially is not good for people who're new to programming and learning 
to code with Python as their first language.

----------
components: Library (Lib)
messages: 323294
nosy: CuriousLearner
priority: normal
severity: normal
stage: needs patch
status: open
title: An error should be returned when there are spaces in between function 
name and parameters
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34361>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to