You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This removes Python 2 compatibility shims and constructs that were not
addressed in a previous PR to remove Python 2 shims.
* Removed `from builtins import map, zip` in
`src/openfermion/utils/operator_utils.py`. These were legacy imports
from the `future` library to provide Python 3 behavior in Python 2.
* Removed explicit `(object)` inheritance from all class definitions.
* Removed the redundant `u` prefix from string literals, because in
Python 3, all strings are Unicode by default.
0 commit comments