Skip to content

Commit

Permalink
remove __future__ and six imports
Browse files Browse the repository at this point in the history
  • Loading branch information
videlec committed Jul 17, 2023
1 parent 85a23ab commit 8ceb76e
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 18 deletions.
3 changes: 1 addition & 2 deletions veerer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
A Python module to deal with Veering triangulation and L^infinity
Delaunay decomposition of surfaces.
"""
from __future__ import absolute_import

from .constants import RED, BLUE, PURPLE, GREEN, HORIZONTAL, VERTICAL, RIGHT, LEFT, UP, DOWN
from .triangulation import Triangulation
Expand All @@ -19,4 +18,4 @@
from .layout import FlatVeeringTriangulationLayout
from .measured_train_track import MeasuredTrainTrack

del sage, absolute_import
del sage
2 changes: 0 additions & 2 deletions veerer/automaton.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
r"""
Train-track and triangulations automata.
"""
from __future__ import print_function, absolute_import
from six.moves import range, map, filter, zip

import os
import sys
Expand Down
3 changes: 0 additions & 3 deletions veerer/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
Covering of triangulations
"""

from __future__ import absolute_import, print_function
from six.moves import range, map, zip

from array import array

from .permutation import *
Expand Down
2 changes: 0 additions & 2 deletions veerer/flip_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
# along with veerer. If not, see <https://www.gnu.org/licenses/>.
######################################################################

from __future__ import absolute_import

from .constants import colour_from_char, colour_to_char, RED, BLUE, PURPLE, GREEN, HORIZONTAL, VERTICAL
from .permutation import perm_init, perm_check, perm_id, perm_is_one, perm_preimage, perm_invert, perm_cycle_string, perm_compose, perm_pow, perm_conjugate
from .veering_triangulation import VeeringTriangulation
Expand Down
3 changes: 0 additions & 3 deletions veerer/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
Utility functions.
"""

from __future__ import print_function, absolute_import
from six.moves import range, map, filter, zip

from .env import ppl

def det2(u, v):
Expand Down
2 changes: 0 additions & 2 deletions veerer/permutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
such array should not be allocated each time the function
is called.
"""
from __future__ import absolute_import, print_function
from six.moves import range, map, filter, zip

from array import array
from math import log
Expand Down
2 changes: 0 additions & 2 deletions veerer/triangulation.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
r"""
Triangulation of surfaces.
"""
from __future__ import absolute_import, print_function
from six.moves import range, map, filter, zip

from array import array
from .permutation import *
Expand Down
2 changes: 0 additions & 2 deletions veerer/veering_triangulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
to folded edges). It is said to be in canonical form if it starts with cycle
representatives.
"""
from __future__ import print_function, absolute_import
from six.moves import range, map, filter, zip

import numbers

Expand Down

0 comments on commit 8ceb76e

Please sign in to comment.