New submission from Vedran Čačić:

Look at this (from https://www.quora.com/Is-end1-a-keyword-in-Python-3-6-1):

print(end1 + end2 + end3 + end4 + end5 + end6 + end=' ')
         ^
SyntaxError: keyword can't be an expression

Wouldn't it be better if the message said "keyword for an argument must be a 
simple name"? Or something like that. Newbies, when they think of keywords, 
they think something from keyword.kwlist, not something used to pass arguments 
to a function in a particular way.

----------
messages: 297772
nosy: veky
priority: normal
severity: normal
status: open
title: Keyword can't be an expression?

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

Reply via email to