chiark / gitweb /
documentation/python: don't cut off the last character in a warning.
authorVladimír Vondruš <mosra@centrum.cz>
Tue, 7 May 2019 10:35:48 +0000 (12:35 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 21 May 2019 14:51:51 +0000 (16:51 +0200)
commitc1e474d9ef478fad505e3d3a5985f191f78fdc81
tree95ca659b4b631b4ecc85ef5ad6e83896ef727c94
parent7da9f16733fa05658e5d9ae423dbb7f3d5e513ec
documentation/python: don't cut off the last character in a warning.

I mistakenly thought a[:-1] is the same as a[:]. It isn't.
documentation/python.py