summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/util/langhelpers.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-09-23 13:09:43 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-09-23 13:09:43 -0400
commitbce3ffc3412737eae51cfe2ba231c6d1366a7d16 (patch)
treef82e11b578a212af9e1f809c4b2d1856a3b54fcd /lib/sqlalchemy/util/langhelpers.py
parent152163b3336970460b605fc2a79766d94f467f8d (diff)
downloadsqlalchemy-bce3ffc3412737eae51cfe2ba231c6d1366a7d16.tar.gz
- use our new Cls.memoized_name._reset(self) method in place of all those __dict__.pop(),
remove reset_memoized
Diffstat (limited to 'lib/sqlalchemy/util/langhelpers.py')
-rw-r--r--lib/sqlalchemy/util/langhelpers.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py
index 7fe5d3e82..e560b871a 100644
--- a/lib/sqlalchemy/util/langhelpers.py
+++ b/lib/sqlalchemy/util/langhelpers.py
@@ -567,9 +567,6 @@ class memoized_instancemethod(object):
oneshot.__doc__ = self.__doc__
return oneshot
-def reset_memoized(instance, name):
- instance.__dict__.pop(name, None)
-
class group_expirable_memoized_property(object):
"""A family of @memoized_properties that can be expired in tandem."""