diff options
author | Ian Bicking <ianb@colorstudy.com> | 2010-09-02 01:18:38 -0500 |
---|---|---|
committer | Ian Bicking <ianb@colorstudy.com> | 2010-09-02 01:18:38 -0500 |
commit | 3bce11dc985e099a24d8b96574f6e57d952d71dd (patch) | |
tree | ef13c8fed00ef15c738be4a05514247754110e4d /tempita/compat3.py | |
parent | 5cc4e884d8c9337e112784357fa770916777559e (diff) | |
download | tempita-3bce11dc985e099a24d8b96574f6e57d952d71dd.tar.gz |
pep8 whitespace fixes
Diffstat (limited to 'tempita/compat3.py')
-rw-r--r-- | tempita/compat3.py | 3 |
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": |