]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove erroneous comments
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 24 Oct 2008 19:43:29 +0000 (19:43 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 24 Oct 2008 19:43:29 +0000 (19:43 +0000)
examples/query_caching/implicit.py
examples/query_caching/per_session.py

index 15a6d121ac39905333714e3b9bd45b2e3efdf004..f3df273b1d6805d073aa9ac5c724367d0aa8a826 100644 (file)
@@ -7,8 +7,6 @@ from sqlalchemy.orm.session import Session
 
 class CachingQuery(Query):
     
-    # single point of object loading is __iter__().  objects in the cache are not associated
-    # with a session and are never returned directly; only merged copies.
     def __iter__(self):
         try:
             cache = self.session._cache
index 12684082cc3842b3a426dd0d844c3cbe91573cc3..a861f14b6b4814b40f155f577ca227bdc5dc649c 100644 (file)
@@ -18,8 +18,6 @@ class CachingQuery(Query):
     def with_cache_key(self, cachekey):
         self.cachekey = cachekey
 
-    # single point of object loading is __iter__().  objects in the cache are not associated
-    # with a session and are never returned directly; only merged copies.
     def __iter__(self):
         if hasattr(self, 'cachekey'):
             try: