]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- fix typo MANYTOONE -> MANYTOMANY, fixes #3415
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 May 2015 20:55:09 +0000 (16:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 May 2015 20:55:33 +0000 (16:55 -0400)
(cherry picked from commit be81cb200d9efb45c3bf331315c54dff778b5de6)

lib/sqlalchemy/ext/automap.py

index 23902fcf41b642b49b1cefb59c8e442abba40f0e..b1fa6529cb040ac67d3116d6ba217e5dbf20f176 100644 (file)
@@ -612,7 +612,7 @@ def generate_relationship(
     :param base: the :class:`.AutomapBase` class doing the prepare.
 
     :param direction: indicate the "direction" of the relationship; this will
-     be one of :data:`.ONETOMANY`, :data:`.MANYTOONE`, :data:`.MANYTOONE`.
+     be one of :data:`.ONETOMANY`, :data:`.MANYTOONE`, :data:`.MANYTOMANY`.
 
     :param return_fn: the function that is used by default to create the
      relationship.  This will be either :func:`.relationship` or