diff options
Diffstat (limited to 'lib/sqlalchemy/sql/functions.py')
-rw-r--r-- | lib/sqlalchemy/sql/functions.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/sql/functions.py b/lib/sqlalchemy/sql/functions.py index 4e87afb94..08f1d32a5 100644 --- a/lib/sqlalchemy/sql/functions.py +++ b/lib/sqlalchemy/sql/functions.py @@ -191,7 +191,7 @@ class FunctionElement(Executable, ColumnElement, FromClause): return None def alias(self, name=None, flat=False): - """Produce a :class:`.Alias` construct against this + r"""Produce a :class:`.Alias` construct against this :class:`.FunctionElement`. This construct wraps the function in a named alias which @@ -202,8 +202,8 @@ class FunctionElement(Executable, ColumnElement, FromClause): from sqlalchemy.sql import column - stmt = select([column('data_view')]).\\ - select_from(SomeTable).\\ + stmt = select([column('data_view')]).\ + select_from(SomeTable).\ select_from(func.unnest(SomeTable.data).alias('data_view') ) @@ -618,7 +618,7 @@ class random(GenericFunction): class count(GenericFunction): - """The ANSI COUNT aggregate function. With no arguments, + r"""The ANSI COUNT aggregate function. With no arguments, emits COUNT \*. """ |