]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
minor docstring fix in MappedCollection class
authorJochem Oosterveen <jochem@oosterveen.net>
Fri, 6 Mar 2015 15:58:30 +0000 (16:58 +0100)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Mar 2015 16:22:04 +0000 (11:22 -0500)
(cherry picked from commit 34cb52e8d9f9bf345904315f16fb87ca9310d9cb)

lib/sqlalchemy/orm/collections.py

index 3c17bc09e94d4ef61906bbeeb492cc52fd7329e6..303c3b9dc9157265633dc93df501be3ad7fb9c77 100644 (file)
@@ -1492,8 +1492,8 @@ class MappedCollection(dict):
     def __init__(self, keyfunc):
         """Create a new collection with keying provided by keyfunc.
 
-        keyfunc may be any callable any callable that takes an object and
-        returns an object for use as a dictionary key.
+        keyfunc may be any callable that takes an object and returns an object
+        for use as a dictionary key.
 
         The keyfunc will be called every time the ORM needs to add a member by
         value-only (such as when loading instances from the database) or