mirror of https://github.com/pallets/flask.git
Fix a typo in a comment in MethodViewType.__new__.
This commit is contained in:
parent
3159c86166
commit
6b9fd4a968
|
|
@ -113,7 +113,7 @@ class MethodViewType(type):
|
|||
methods.add(key.upper())
|
||||
# If we have no method at all in there we don't want to
|
||||
# add a method list. (This is for instance the case for
|
||||
# the baseclass or another subclass of a base method view
|
||||
# the base class or another subclass of a base method view
|
||||
# that does not introduce new methods).
|
||||
if methods:
|
||||
rv.methods = sorted(methods)
|
||||
|
|
|
|||
Loading…
Reference in New Issue