diff options
| author | Lele Gaifax <lele@metapensiero.it> | 2021-01-24 13:59:03 -0500 |
|---|---|---|
| committer | sqla-tester <sqla-tester@sqlalchemy.org> | 2021-01-24 13:59:03 -0500 |
| commit | f04147d9490df68b1fe1bb53991062d82017f865 (patch) | |
| tree | eebea42a0791544c9a10f1d7055a17497cf4108e /lib/sqlalchemy/dialects/mysql | |
| parent | 2df6eb140b4feb86d7cc99c0c976d1b22eb6e25b (diff) | |
| download | sqlalchemy-f04147d9490df68b1fe1bb53991062d82017f865.tar.gz | |
Fix many spell glitches in docstrings and comments
These were revealed by running `pylint --disable all --enable spelling --spelling-dict en_US` over all sources.
Closes: #5868
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/5868
Pull-request-sha: bb249195d92e3b806e81ecf1192d5a1b3cd5db48
Change-Id: I96080ec93a9fbd20ce21e9e16265b3c77f22bb14
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql')
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/base.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/json.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/provision.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/reflection.py | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py index 63dbbd83e..c35031613 100644 --- a/lib/sqlalchemy/dialects/mysql/base.py +++ b/lib/sqlalchemy/dialects/mysql/base.py @@ -125,7 +125,7 @@ of ``1024``:: mysql_key_block_size="1024" ) -When supporing :ref:`mysql_mariadb_only_mode` mode, similar keys against +When supporting :ref:`mysql_mariadb_only_mode` mode, similar keys against the "mariadb" prefix must be included as well. The values can of course vary independently so that different settings on MySQL vs. MariaDB may be maintained:: @@ -272,7 +272,7 @@ Server Side Cursors ------------------- Server-side cursor support is available for the mysqlclient, PyMySQL, -maridbconnector dialects and may also be available in others. This makes use +mariadbconnector dialects and may also be available in others. This makes use of either the "buffered=True/False" flag if available or by using a class such as ``MySQLdb.cursors.SSCursor`` or ``pymysql.cursors.SSCursor`` internally. diff --git a/lib/sqlalchemy/dialects/mysql/json.py b/lib/sqlalchemy/dialects/mysql/json.py index 655e68cad..e66fb2986 100644 --- a/lib/sqlalchemy/dialects/mysql/json.py +++ b/lib/sqlalchemy/dialects/mysql/json.py @@ -21,7 +21,7 @@ class JSON(sqltypes.JSON): .. seealso:: - :class:`_types.JSON` - main documenation for the generic + :class:`_types.JSON` - main documentation for the generic cross-platform JSON datatype. The :class:`.mysql.JSON` type supports persistence of JSON values diff --git a/lib/sqlalchemy/dialects/mysql/provision.py b/lib/sqlalchemy/dialects/mysql/provision.py index 50b6e3c85..86aaa94d9 100644 --- a/lib/sqlalchemy/dialects/mysql/provision.py +++ b/lib/sqlalchemy/dialects/mysql/provision.py @@ -12,7 +12,7 @@ def generate_driver_url(url, driver, query_str): # NOTE: at the moment, tests are running mariadbconnector # against both mariadb and mysql backends. if we want this to be - # limited, do the decisionmaking here to reject a "mysql+mariadbconnector" + # limited, do the decision making here to reject a "mysql+mariadbconnector" # URL. Optionally also re-enable the module level # MySQLDialect_mariadbconnector.is_mysql flag as well, which must include # a unit and/or functional test. diff --git a/lib/sqlalchemy/dialects/mysql/reflection.py b/lib/sqlalchemy/dialects/mysql/reflection.py index 2b8c9c528..b78034de2 100644 --- a/lib/sqlalchemy/dialects/mysql/reflection.py +++ b/lib/sqlalchemy/dialects/mysql/reflection.py @@ -451,7 +451,7 @@ class MySQLTableDefinitionParser(object): # CONSTRAINT `CONSTRAINT_1` CHECK (`x` > 5)' # testing on MariaDB 10.2 shows that the CHECK constraint # is returned on a line by itself, so to match without worrying - # about parenthesis in the expresion we go to the end of the line + # about parenthesis in the expression we go to the end of the line self._re_ck_constraint = _re_compile( r" " r"CONSTRAINT +" |
