We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0a0a10 commit 1464d18Copy full SHA for 1464d18
bottle.py
@@ -917,7 +917,8 @@ def hello(name):
917
skiplist = makelist(skip)
918
919
def decorator(callback):
920
- if isinstance(callback, basestring): callback = load(callback)
+ if isinstance(callback, basestring):
921
+ callback = load(callback) # type: Callable
922
for rule in makelist(path) or yieldroutes(callback):
923
for verb in makelist(method):
924
verb = verb.upper()
0 commit comments