mirror of
https://github.com/django/django.git
synced 2025-04-21 15:54:37 +00:00
[1.7.x] Fixed typo in django/utils/decorators.py comment.
Backport of d049b36f91538595b9c7cdb7a1506c130803d226 from master
This commit is contained in:
parent
9d0e61f04d
commit
014f699c8b
@ -17,7 +17,7 @@ def method_decorator(decorator):
|
||||
Converts a function decorator into a method decorator
|
||||
"""
|
||||
# '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 _wrapper(self, *args, **kwargs):
|
||||
@decorator
|
||||
|
Loading…
x
Reference in New Issue
Block a user