On May 28, 2012, at 12:33 AM, Jakub Wilk wrote:
>It's a mistake to write
>
> assert(tilsit, 'Never at the end of the week, sir.')
>
>instead of
>
> assert tilsit, 'Never at the end of the week, sir.'
>
>The former assertion is always true, and thus no-op. Python >= 2.6 emits a
>SyntaxWar
It's a mistake to write
assert(tilsit, 'Never at the end of the week, sir.')
instead of
assert tilsit, 'Never at the end of the week, sir.'
The former assertion is always true, and thus no-op. Python >= 2.6 emits
a SyntaxWarning about this.
I implemented lintian4python check for s
2 matches
Mail list logo