Skip to content

Commit

Permalink
Python2.x: Add backwards compatibility with Python2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
danoneata committed Oct 18, 2016
1 parent 33bc8c1 commit 4025ad6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example/example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# -*- coding: utf-8 -*-
from __future__ import (
division,
print_function,
)

import skimage.data
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
Expand Down
2 changes: 2 additions & 0 deletions selectivesearch/selectivesearch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import division

import skimage.io
import skimage.feature
import skimage.color
Expand Down

0 comments on commit 4025ad6

Please sign in to comment.