Skip to content

Commit

Permalink
adjust docstrings to triple quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
freddrake committed Oct 30, 2018
1 parent 24d64cd commit 49e11c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZConfig/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down Expand Up @@ -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])


Expand Down

0 comments on commit 49e11c4

Please sign in to comment.