Skip to content

Commit

Permalink
Fixed a couple of docstring typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiro committed Dec 15, 2012
1 parent c2a6b2a commit 730c0d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions django/utils/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

from django.utils import six

# You can't trivially replace this `functools.partial` because this binds to
# classes and returns bound instances, whereas functools.partial (on CPython)
# is a type and its instances don't bind.
# You can't trivially replace this with `functools.partial` because this binds
# to classes and returns bound instances, whereas functools.partial (on
# CPython) is a type and its instances don't bind.
def curry(_curried_func, *args, **kwargs):
def _curried(*moreargs, **morekwargs):
return _curried_func(*(args+moreargs), **dict(kwargs, **morekwargs))
Expand All @@ -33,8 +33,8 @@ def wrapper(*args):

class cached_property(object):
"""
Decorator that creates converts a method with a single
self argument into a property cached on the instance.
Decorator that converts a method with a single self argument into a
property cached on the instance.
"""
def __init__(self, func):
self.func = func
Expand Down

0 comments on commit 730c0d2

Please sign in to comment.