diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2012-12-15 10:22:22 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2012-12-15 10:22:22 -0300 |
| commit | 730c0d2e72e8d8445bbff27d2f766f78171bc435 (patch) | |
| tree | 2e67c7fff2760efb8525ac9bf499cc0de88e0155 | |
| parent | c2a6b2a43fb8f32cff078c823054e2e65f325464 (diff) | |
Fixed a couple of docstring typos.
| -rw-r--r-- | django/utils/functional.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py index 505931e158..661518e3cc 100644 --- a/django/utils/functional.py +++ b/django/utils/functional.py @@ -5,9 +5,9 @@ import sys 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)) @@ -33,8 +33,8 @@ def memoize(func, cache, num_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 |
