diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2020-10-07 04:15:58 +0000 |
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2020-10-07 04:15:58 +0000 |
| commit | df93c4ad65b402fac9d7d6520c9bc201efefaaf3 (patch) | |
| tree | ba9b1f07606bcb85b0893227167cc1a7761858de /lib | |
| parent | dfb94052675d39dba7ab443c49a2e7a3153bd89f (diff) | |
| parent | 20ae8c7726297f1bf105b6df18d9bec0cb961acf (diff) | |
| download | sqlalchemy-df93c4ad65b402fac9d7d6520c9bc201efefaaf3.tar.gz | |
Merge "Address minor comments from previous changes"
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sqlalchemy/sql/selectable.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/util/compat.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/sql/selectable.py b/lib/sqlalchemy/sql/selectable.py index 9a41d18e4..951f50ae1 100644 --- a/lib/sqlalchemy/sql/selectable.py +++ b/lib/sqlalchemy/sql/selectable.py @@ -3044,7 +3044,7 @@ class GenerativeSelect(DeprecatedSelectBaseGenerations, SelectBase): This is a numeric value which usually renders as ``FETCH {FIRST | NEXT} [ count ] {ROW | ROWS} {ONLY | WITH TIES}`` expression in the resulting select. This functionality is - is currently implemented for Oracle, PostgreSQL, MSSSQL. + is currently implemented for Oracle, PostgreSQL, MSSQL. Use :meth:`_sql.GenerativeSelect.offset` to specify the offset. diff --git a/lib/sqlalchemy/util/compat.py b/lib/sqlalchemy/util/compat.py index d4da21664..d3fefa526 100644 --- a/lib/sqlalchemy/util/compat.py +++ b/lib/sqlalchemy/util/compat.py @@ -20,7 +20,7 @@ py37 = sys.version_info >= (3, 7) py36 = sys.version_info >= (3, 6) py3k = sys.version_info >= (3, 0) py2k = sys.version_info < (3, 0) -pypy = hasattr(sys, "pypy_version_info") +pypy = platform.python_implementation() == "PyPy" cpython = platform.python_implementation() == "CPython" |
