Skip to content

Commit

Permalink
PEP257fy codebase: eliminated D200 pep257 linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Mar 16, 2017
1 parent 89d128a commit 4c9d360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions cheroot/workers/threadpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@

class TrueyZero(object):

"""An object which equals and does math like the integer 0 but evals True.
"""
"""An object which equals and does math like the integer 0 but evals True."""

def __add__(self, other):
return other
Expand Down
4 changes: 1 addition & 3 deletions cheroot/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ def respond(self):
response.close()

def start_response(self, status, headers, exc_info=None):
"""
WSGI callable to begin the HTTP response.
"""
"""WSGI callable to begin the HTTP response."""
# "The application may call start_response more than once,
# if and only if the exc_info argument is provided."
if self.started_response and not exc_info:
Expand Down

0 comments on commit 4c9d360

Please sign in to comment.