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 b1bd8bb commit 0207a34Copy full SHA for 0207a34
bottle.py
@@ -878,7 +878,8 @@ def hello(name):
878
skiplist = makelist(skip)
879
880
def decorator(callback):
881
- if isinstance(callback, str): callback = load(callback)
+ if isinstance(callback, str):
882
+ callback = load(callback) # type: Callable
883
for rule in makelist(path) or yieldroutes(callback):
884
for verb in makelist(method):
885
verb = verb.upper()
0 commit comments