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