scipopt / soplex

Sequential object-oriented simPlex
Other
59 stars 18 forks source link

Make parser.py compatible with python 3 #32

Closed jamesjer closed 6 months ago

jamesjer commented 6 months ago

Currently parser.py does not work with python3:

$ python3 parser.py --linkext html
  File "/home/jamesjer/rpmbuild/BUILD/soplex-release-604/doc/inc/parser.py", line 53
    def formatitem((question, answer, label)):
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Function parameters cannot be parenthesized
leoneifler commented 6 months ago

Thanks for this fix, same as before, will run it through the pipeline and then mirror it onto GitHub 👍