Skip to content

Commit

Permalink
update __version__ deprecation (#5649)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism authored Nov 24, 2024
2 parents dcbe86b + b394a99 commit ea08f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flask/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __getattr__(name: str) -> t.Any:

warnings.warn(
"The '__version__' attribute is deprecated and will be removed in"
" Flask 3.1. Use feature detection or"
" Flask 3.2. Use feature detection or"
" 'importlib.metadata.version(\"flask\")' instead.",
DeprecationWarning,
stacklevel=2,
Expand Down

0 comments on commit ea08f15

Please sign in to comment.