]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Address minor comments from previous changes
authorFederico Caselli <cfederico87@gmail.com>
Tue, 6 Oct 2020 18:19:49 +0000 (20:19 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 6 Oct 2020 18:19:49 +0000 (20:19 +0200)
Change how pypy is detected. From I0952e54ed9af2952ea340be1945311376ffc1ad2
Fix typos. From Ibb5871a457c0555f82b37e354e7787d15575f1f7

Change-Id: I9657e602267590f10a74df27a84e4292da94c30a

doc/build/changelog/unreleased_14/5576.rst
lib/sqlalchemy/sql/selectable.py
lib/sqlalchemy/util/compat.py

index 6a0e2aedb234510cd74481805417003bd514c585..a4d56bdeffd1ce6e7bde62aba1678d4f16415b76 100644 (file)
@@ -2,6 +2,6 @@
     :tags: usecase, sql
     :tickets: 5576
 
-    Add support to ``FETCH {FIRST | NEXT} [ count ] 
+    Add support to ``FETCH {FIRST | NEXT} [ count ]
     {ROW | ROWS} {ONLY | WITH TIES}`` in the select for the supported
     backends, currently PostgreSQL, Oracle and MSSQL.
index 9a41d18e4d1bb1f6fc958096c66ba11b234974db..951f50ae1bff89aa638e5b67290fc0838244b785 100644 (file)
@@ -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.
 
index d4da2166441e751d9e7a5ca72eded2774fd61872..d3fefa526578ddc19315c7f100f1fc62d86df245 100644 (file)
@@ -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"