summaryrefslogtreecommitdiff
path: root/tempita/compat3.py
diff options
context:
space:
mode:
authorIan Bicking <ianb@colorstudy.com>2010-09-02 01:18:38 -0500
committerIan Bicking <ianb@colorstudy.com>2010-09-02 01:18:38 -0500
commit3bce11dc985e099a24d8b96574f6e57d952d71dd (patch)
treeef13c8fed00ef15c738be4a05514247754110e4d /tempita/compat3.py
parent5cc4e884d8c9337e112784357fa770916777559e (diff)
downloadtempita-3bce11dc985e099a24d8b96574f6e57d952d71dd.tar.gz
pep8 whitespace fixes
Diffstat (limited to 'tempita/compat3.py')
-rw-r--r--tempita/compat3.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tempita/compat3.py b/tempita/compat3.py
index 7086ae4..5e18fa0 100644
--- a/tempita/compat3.py
+++ b/tempita/compat3.py
@@ -1,6 +1,6 @@
import sys
-__all__ = ['b', 'basestring_', 'getnext', 'bytes', 'next', 'is_unicode']
+__all__ = ['b', 'basestring_', 'bytes', 'next', 'is_unicode']
if sys.version < "3":
b = bytes = str
@@ -31,6 +31,7 @@ else:
def is_unicode(obj):
return isinstance(obj, str)
+
def coerce_text(v):
if not isinstance(v, basestring_):
if sys.version < "3":