Skip to content

Commit

Permalink
scipyoptdoc.py: Remove unused variable 'sixu'
Browse files Browse the repository at this point in the history
The [unused __sixu__](https://github.com/scipy/scipy/search?q=sixu&unscoped_q=sixu) is no longer required because Scipy no longer supports Python2 and __unicode()__ is removed in Python 3.
  • Loading branch information
cclauss authored Jan 10, 2020
1 parent 9a0ada2 commit 46d769b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions doc/source/scipyoptdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@
from scipy._lib._util import getargspec_no_self


if sys.version_info[0] >= 3:
sixu = lambda s: s
else:
sixu = lambda s: unicode(s, 'unicode_escape')


def setup(app):
app.add_domain(ScipyOptimizeInterfaceDomain)
return {'parallel_read_safe': True}
Expand Down

0 comments on commit 46d769b

Please sign in to comment.