Skip to content
Myr

automated change using python-modernize: fix methodattrs

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

authored by Thomas Waldmann · committed by Thomas Waldmann · parent 521398d · Browse files · 1 file+1 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

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:flask/app.py+1 added-1 removed
588 unmodified lines
589590 # Hack to support the init_jinja_globals method which is supported591 # until 1.0 but has an API deficiency.592 if getattr(self.init_jinja_globals, 'im_func', None) is not \593 Flask.init_jinja_globals.im_func:593 Flask.init_jinja_globals.__func__:594 from warnings import warn595 warn(DeprecationWarning('This flask class uses a customized '596 'init_jinja_globals() method which is deprecated. '597 'Move the code from that method into the '
1232 unmodified lines