forked from orbit-oss/flask
Merge branch '2.2.x'
This commit is contained in:
commit
73b9bacbf7
11 changed files with 25 additions and 15 deletions
|
|
@ -275,8 +275,9 @@ class Config(dict):
|
|||
def from_mapping(
|
||||
self, mapping: t.Optional[t.Mapping[str, t.Any]] = None, **kwargs: t.Any
|
||||
) -> bool:
|
||||
"""Updates the config like :meth:`update` ignoring items with non-upper
|
||||
keys.
|
||||
"""Updates the config like :meth:`update` ignoring items with
|
||||
non-upper keys.
|
||||
|
||||
:return: Always returns ``True``.
|
||||
|
||||
.. versionadded:: 0.11
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ def __getattr__(name: str) -> t.Any:
|
|||
import warnings
|
||||
|
||||
warnings.warn(
|
||||
"'_app_ctx_stack' is deprecated and will be remoevd in Flask 2.3.",
|
||||
"'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
|
@ -98,7 +98,7 @@ def __getattr__(name: str) -> t.Any:
|
|||
import warnings
|
||||
|
||||
warnings.warn(
|
||||
"'_request_ctx_stack' is deprecated and will be remoevd in Flask 2.3.",
|
||||
"'_request_ctx_stack' is deprecated and will be removed in Flask 2.3.",
|
||||
DeprecationWarning,
|
||||
stacklevel=2,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue