Strange location for a comma

Sven R. Kunze srkunze at mail.de
Thu Sep 3 19:01:16 EDT 2015


On 03.09.2015 14:20, ast wrote:
> Hello,
> At the end of the last line of the following program,
> there is a comma, I dont understand why ?
>
> Thx
>
>
> from cx_Freeze import setup, Executable
>
> # On appelle la fonction setup
> setup(
>    name = "salut",
>    version = "0.1",
>    description = "Ce programme vous dit bonjour",
>    executables = [Executable("salut.py")],    #  <--- HERE
> )
>

I know of several projects having this convention because when using a 
repository software like git, it leads to smaller and thus more readable 
diffs.

Best,
Sven




More information about the Python-list mailing list