Skip to content
Myr

Merge pull request #5085 from lucaswerkmeister/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix importing Markup from flask

authored by David Lord · committed by GitHub · parents 345f184, 0ec9192 · Browse files · 2 files+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−1 removed

  • other:+3 added−1 removed

2 files+3 added−1 removed

modified:src/flask/__init__.py+1 added-1 removed
74 unmodified lines
75 stacklevel=2,76 )77 return escape7879 if name == "escape":79 if name == "Markup":80 import warnings81 from markupsafe import Markup8283 warnings.warn(
19 unmodified lines
modified:CHANGES.rst+2 added
1 unmodified line
2-------------34Unreleased56- Restore deprecated ``from flask import Markup``. :issue:`5084`789Version 2.3.010-------------1112Released 2023-04-25
1475 unmodified lines