Source: python-pdftools
Version: 0.37-2
Severity: minor

I found this gem in pdftools/pdfdefs.py:

|    if sys.version_info < 2.0:
|
|        def __getslice__(self, i, j):
|
|            return self[max(0, i):max(0, j):]

Tuples are never smaller that floating point number, and Python 1.X didn't even have sys.version_info...

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to