mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +00:00
Convert a pile of obvious "yes/no" functions to return bool.
This commit is contained in:
parent
2f486b7fa6
commit
bc0e910826
34 changed files with 117 additions and 122 deletions
|
@ -226,10 +226,10 @@ class BaseServer:
|
|||
def verify_request(self, request, client_address):
|
||||
"""Verify the request. May be overridden.
|
||||
|
||||
Return true if we should proceed with this request.
|
||||
Return True if we should proceed with this request.
|
||||
|
||||
"""
|
||||
return 1
|
||||
return True
|
||||
|
||||
def process_request(self, request, client_address):
|
||||
"""Call finish_request.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue