diff --git a/ZConfig/_compat.py b/ZConfig/_compat.py index 87335fd..c377e35 100644 --- a/ZConfig/_compat.py +++ b/ZConfig/_compat.py @@ -38,7 +38,7 @@ def TextIO(text): - "Return StringIO or BytesIO as appropriate" + """Return StringIO or BytesIO as appropriate""" return BytesIO(text) if isinstance(text, bytes) else StringIO(text) @@ -100,7 +100,7 @@ def exec_(code, globs=None, locs=None): # pragma NO COVER def raise_with_same_tb(exception): - "Raise an exception having the current traceback (if there is one)" + """Raise an exception having the current traceback (if there is one)""" reraise(type(exception), exception, sys.exc_info()[2])