Skip to content

Commit

Permalink
Address pydocstyle offences in cheroot.connections
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Aug 12, 2020
1 parent 3135db5 commit 2133876
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cheroot/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ def expire(self):
This should be called periodically.
"""

# find any connections still registered with the selector
# that have not been active recently enough.
threshold = time.time() - self.server.timeout
Expand Down Expand Up @@ -274,7 +273,7 @@ def close(self):
self._selector.close()

@property
def _num_connections(self):
def _num_connections(self): # noqa: D401
"""The current number of connections.
Includes any in the readable list or registered with the selector,
Expand Down

0 comments on commit 2133876

Please sign in to comment.