mirror of
https://github.com/vale981/python-docstring-mode
synced 2025-03-05 09:31:43 -05:00
Merge pull request #17 from glyph/unused-code
Removed unused StringIO imports.
This commit is contained in:
commit
fc537289f5
1 changed files with 1 additions and 6 deletions
|
@ -20,9 +20,6 @@ import argparse
|
||||||
import sys
|
import sys
|
||||||
import re
|
import re
|
||||||
|
|
||||||
try:
|
|
||||||
from cStringIO import StringIO
|
|
||||||
except ImportError:
|
|
||||||
from io import StringIO
|
from io import StringIO
|
||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
|
|
||||||
|
@ -553,8 +550,6 @@ def main(argv, indata):
|
||||||
parser.add_argument("--linewise", action='store_true')
|
parser.add_argument("--linewise", action='store_true')
|
||||||
namespace = parser.parse_args()
|
namespace = parser.parse_args()
|
||||||
|
|
||||||
from io import StringIO
|
|
||||||
|
|
||||||
io = StringIO()
|
io = StringIO()
|
||||||
inlines = indata.split("\n")
|
inlines = indata.split("\n")
|
||||||
if namespace.linewise:
|
if namespace.linewise:
|
||||||
|
|
Loading…
Add table
Reference in a new issue