forked from orbit-oss/flask
python 2 style inheritance clean up from docs
This commit is contained in:
parent
1373f70dc6
commit
1a68768e6b
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue