Package: python3-pypdf2
Version: 1.26.0-2
Severity: normal
Hi,
python3-pypdf2 (NB. the Python 3.x variant) version ships «inter
alia» the following example file:
/usr/share/doc/python3-pypdf2/examples/basic_features.py
However, this file assumes Python 2:
$ python3 /usr/share/doc/python3-pypdf2/examples/basic_features.py
File "/usr/share/doc/python3-pypdf2/examples/basic_features.py", line 7
print "document1.pdf has %d pages." % input1.getNumPages()
^
SyntaxError: invalid syntax
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-