Skip to content

Commit

Permalink
BUG: Remove Python 2 code from igenerator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Feb 19, 2020
1 parent b7b6638 commit 2d2d4da
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Wrapping/Generators/SwigInterface/igenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
import os
import re
from argparse import ArgumentParser

try:
# Python 3
from io import StringIO
except ImportError:
# Python 2
from cStringIO import StringIO
from io import StringIO


def getType(v):
Expand Down

0 comments on commit 2d2d4da

Please sign in to comment.