diff options
Diffstat (limited to 'tools/indenter')
-rwxr-xr-x | tools/indenter | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/indenter b/tools/indenter index 1d44581..ee000da 100755 --- a/tools/indenter +++ b/tools/indenter @@ -22,7 +22,7 @@ from collections import namedtuple -import cStringIO +import io import string import subprocess import sys @@ -113,7 +113,7 @@ class Reader(object): self._column += 1 def string_reader(s, name='<string>', line=1, column=1): - return Reader(name, cStringIO.StringIO(s), line, column) + return Reader(name, io.StringIO(s), line, column) def take_while(b, r, s): assert isinstance(b, bytearray) |