Remove __future__ imports
This commit is contained in:
parent
a284dec2f9
commit
1ceeaf11e6
5 changed files with 0 additions and 8 deletions
|
|
@ -44,9 +44,6 @@
|
|||
# - if a <g> has only one element in it, collapse the <g> (ensure transform, etc are carried down)
|
||||
|
||||
|
||||
from __future__ import division # use "true" division instead of integer division in Python 2 (see PEP 238)
|
||||
from __future__ import print_function # use print() as a function in Python 2 (see PEP 3105)
|
||||
from __future__ import absolute_import # use absolute imports by default in Python 2 (see PEP 328)
|
||||
|
||||
import math
|
||||
import optparse
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ Out[4]: [('M', [(0.60509999999999997, 0.5)])]
|
|||
In [5]: svg_parser.parse('M 100-200') # Another edge case
|
||||
Out[5]: [('M', [(100.0, -200.0)])]
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import re
|
||||
from decimal import Decimal, getcontext
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ Multiple transformations are supported:
|
|||
In [12]: svg_transform_parser.parse('translate(30 -30) rotate(36)')
|
||||
Out[12]: [('translate', [30.0, -30.0]), ('rotate', [36.0])]
|
||||
"""
|
||||
from __future__ import absolute_import
|
||||
|
||||
import re
|
||||
from decimal import Decimal
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
import unittest
|
||||
|
||||
|
|
|
|||
|
|
@ -19,8 +19,6 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from __future__ import print_function # use print() as a function in Python 2 (see PEP 3105)
|
||||
from __future__ import absolute_import # use absolute imports by default in Python 2 (see PEP 328)
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue