Browse Source

Fix a typo in a comment in MethodViewType.__new__.

pull/1225/head
Petr Zemek 10 years ago
parent
commit
6b9fd4a968
  1. 2
      flask/views.py

2
flask/views.py

@ -113,7 +113,7 @@ class MethodViewType(type):
methods.add(key.upper()) methods.add(key.upper())
# If we have no method at all in there we don't want to # 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 # 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). # that does not introduce new methods).
if methods: if methods:
rv.methods = sorted(methods) rv.methods = sorted(methods)

Loading…
Cancel
Save