Error Python version 3.6 does not support this syntax.
On 11/27/2018 8:24 AM, Frank Millman wrote:
> In the line 'return None',? it may be complaining that None is
> superfluous - a plain 'return' does the same thing.
PEP 8 recommends explicit 'return None' if elsewhere in the function
there is an explicit 'return something', as in
(though in the above, 'return ' might be better). However, in the
quoted code, there is no other return (this might be a bug).
Terry Jan Reedy