Skip to content
Myr

Fix a typo in a comment in MethodViewType.__new__.

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

authored by Petr Zemek · committed by Petr Zemek · parent 3159c86 · 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/views.py+1 added-1 removed
111 unmodified lines
112 if key in http_method_funcs:113 methods.add(key.upper())114 # If we have no method at all in there we don't want to115 # add a method list. (This is for instance the case for116 # the baseclass or another subclass of a base method view116 # the base class or another subclass of a base method view117 # that does not introduce new methods).118 if methods:119 rv.methods = sorted(methods)120 return rv
29 unmodified lines