summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <classic@zzzcomputing.com>2013-08-17 00:05:19 -0400
committerMike Bayer <classic@zzzcomputing.com>2013-08-17 00:05:19 -0400
commitefb71bd4f33e4a9d7f547de6346dafb31d3d35a4 (patch)
tree65ee024ecab01169bc6302a823ef5f1b4e332395
parent869620902a5a9a0cfc8e9021e3aa31178f18152c (diff)
parenta34dc8488ba4f9a139ed23355ae13109bb419d67 (diff)
downloadsqlalchemy-efb71bd4f33e4a9d7f547de6346dafb31d3d35a4.tar.gz
Merged in bacher09/sqlalchemy (pull request #5)
Fix typo in comparator_factory example
-rw-r--r--doc/build/core/types.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/build/core/types.rst b/doc/build/core/types.rst
index 131e8e64d..1c1884b11 100644
--- a/doc/build/core/types.rst
+++ b/doc/build/core/types.rst
@@ -690,7 +690,7 @@ to integers::
class MyInt(Integer):
class comparator_factory(Integer.Comparator):
def log(self, other):
- return func.log(self, other)
+ return func.log(self.expr, other)
Using the above type::