Updated documentation in wiki, and a minor doc fix in the code

This commit is contained in:
s3lph 2018-07-04 22:05:47 +02:00
parent 9d6c0c9de2
commit a89f2cd15d
2 changed files with 3 additions and 3 deletions

2
doc

@ -1 +1 @@
Subproject commit 8f859277827574f80e392d818c25dcf24afaf5b0 Subproject commit 14b8380090858c3bed5c3b2ee7cf1408aaa133df

View file

@ -1,5 +1,5 @@
from typing import Any, Callable, Dict, Tuple, Union from typing import Any, Callable, Dict, Optional, Tuple, Union
import traceback import traceback
@ -72,7 +72,7 @@ def pagelet(path: str):
RequestArguments, RequestArguments,
Dict[str, Any], Dict[str, Any],
Dict[str, str]], Dict[str, str]],
Tuple[int, Union[bytes, str]]]): Tuple[int, Optional[Union[bytes, str]]]]):
# Add the function to the dict of pagelets # Add the function to the dict of pagelets
_PAGELET_PATHS[path] = fun _PAGELET_PATHS[path] = fun
# Don't change the function itself at all # Don't change the function itself at all