]> 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)
committerJochem Oosterveen <jochem@oosterveen.net>
Fri, 6 Mar 2015 15:58:30 +0000 (16:58 +0100)
lib/sqlalchemy/orm/collections.py

index 356a8a3b962af498ba6d3ffcfe3677b2a99f3e18..e50d81b777cd773808eb246bc1bfff96e03149eb 100644 (file)
@@ -1507,8 +1507,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