Merge pull request #4926 from pallets/docs-inheritance

python 2 style inheritance clean up from docs
This commit is contained in:
David Lord 2022-12-24 10:36:40 -07:00 committed by GitHub
commit 55cdb420a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ exist yet, it is dynamically created and remembered::
from threading import Lock
class SubdomainDispatcher(object):
class SubdomainDispatcher:
def __init__(self, domain, create_app):
self.domain = domain
@ -148,7 +148,7 @@ request path up to the first slash::
from threading import Lock
from werkzeug.wsgi import pop_path_info, peek_path_info
class PathDispatcher(object):
class PathDispatcher:
def __init__(self, default_app, create_app):
self.default_app = default_app