Created
April 7, 2015 09:14
-
-
Save shauns/d4cb3ef58dff45e34856 to your computer and use it in GitHub Desktop.
Diff to remove SQLAlchemy Sphinx errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py | |
index 8d6fe5a..e064b84 100644 | |
--- a/lib/sqlalchemy/util/langhelpers.py | |
+++ b/lib/sqlalchemy/util/langhelpers.py | |
@@ -159,6 +159,9 @@ def %(name)s(%(args)s): | |
fn.__func__.__doc__ = doc | |
else: | |
fn.__doc__ = doc | |
+ | |
+ decorated.__module__ = fn.__module__ | |
+ | |
return decorated | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment