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



_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

Reply via email to