Fixed typo in django/utils/decorators.py comment.

This commit is contained in:
Tom V 2014-11-24 15:29:30 +00:00 committed by Tim Graham
parent 0c623da664
commit d049b36f91
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ def method_decorator(decorator):
Converts a function decorator into a method decorator Converts a function decorator into a method decorator
""" """
# 'func' is a function at the time it is passed to _dec, but will eventually # 'func' is a function at the time it is passed to _dec, but will eventually
# be a method of the class it is defined it. # be a method of the class it is defined on.
def _dec(func): def _dec(func):
def _wrapper(self, *args, **kwargs): def _wrapper(self, *args, **kwargs):
@decorator @decorator