Closed slycordinator closed 4 months ago
Though, for brevity, you may prefer something more like:
try:
pre = unicode(num_pre)
post = unicode(num_post)
except NameError:
pre = str(num_pre)
post = str(num_post)
Which seems to work the same.
Thanks for the fix, @slycordinator !
Changed fix_unpacking.py to use:
For me, this fixed the issue referenced in https://github.com/PythonCharmers/python-future/issues/549