Why Pylint says print('foo', end='') is an invalid syntax?
<p>This very simple code:</p>

<pre><code>#!/usr/bin/python3
print('foo', end='')
</code></pre>

<p>Makes Pylint unhappy (both on Python2 and Python3):</p>

<pre><code>pylint ./pylint.py
No config file found, using default configuration
************* Module pylint
E:  2, 0: invalid syntax (syntax-error)
</code></pre>

<p>Why?</p>