Allow self as an argument to url_for

This makes the Flask.url_for self argument positional only (Flask
supports Python 3.8+) thereby restoring the ability to pass self as a
value argument to url_for.
This commit is contained in:
pgjones 2023-09-24 16:16:55 +01:00 committed by Phil Jones
parent b7c1290528
commit 438edcdf01
3 changed files with 9 additions and 0 deletions

View file

@ -8,6 +8,7 @@ Unreleased
``importlib.metadata.version("flask")``, instead. :issue:`5230`
- Restructure the code such that the Flask (app) and Blueprint
classes have Sans-IO bases. :pr:`5127`
- Allow self as an argument to url_for. :pr:`5264`
Version 2.3.3