summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-05-13 11:52:17 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-05-13 12:12:55 -0400
commit663ed1a0772f6c6d53b1f4f9a2f652d0e5ce0b8a (patch)
treea7c7532cc620761741ecfd89467e1c7f3de6f40b /examples
parentb26642e2364836fe9a8ee25c1cf4551901ce0c37 (diff)
downloadsqlalchemy-663ed1a0772f6c6d53b1f4f9a2f652d0e5ce0b8a.tar.gz
Resolve RST306 issues
The latest flake8 seems to look for these and they are in fact correctable with a backslash. Also need to add r to the strings to avoid W605. Change-Id: I8045309aa2ad29978ba7e99c45f75bc1457dff3d
Diffstat (limited to 'examples')
-rw-r--r--examples/custom_attributes/active_column_defaults.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_attributes/active_column_defaults.py b/examples/custom_attributes/active_column_defaults.py
index f05a53173..dea79ee95 100644
--- a/examples/custom_attributes/active_column_defaults.py
+++ b/examples/custom_attributes/active_column_defaults.py
@@ -28,7 +28,7 @@ def configure_listener(mapper, class_):
def default_listener(col_attr, default):
"""Establish a default-setting listener.
- Given a class_, attrname, and a :class:`.DefaultGenerator` instance.
+ Given a class attribute and a :class:`.DefaultGenerator` instance.
The default generator should be a :class:`.ColumnDefault` object with a
plain Python value or callable default; otherwise, the appropriate behavior
for SQL functions and defaults should be determined here by the