8000 docs fix (#534) · phpjava55/PyMySQL@eced982 · GitHub
[go: up one dir, main page]

Skip to content

Commit eced982

Browse files
smsaladimethane
authored andcommitted
docs fix (PyMySQL#534)
1 parent 755dfdc commit eced982

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/user/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Go to the ``docs`` directory and run ``make html``.
1717
Test Suite
1818
-----------
1919

20-
If you would like to run the test suite, create database for test like this::
20+
If you would like to run the test suite, create a database for testing like this::
2121

2222
mysql -e 'create database test_pymysql DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'
2323
mysql -e 'create database test_pymysql2 DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;'

pymysql/cursors.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Cursor(object):
2323
This is the object you use to interact with the database.
2424
"""
2525

26-
#: Max stetement size which :meth:`executemany` generates.
26+
#: Max statement size which :meth:`executemany` generates.
2727
#:
2828
#: Max size of allowed statement is max_allowed_packet - packet_header_size.
2929
#: Default value of max_allowed_packet is 1048576.
@@ -403,8 +403,8 @@ class SSCursor(Cursor):
403403
or for connections to remote servers over a slow network.
404404
405405
Instead of copying every row of data into a buffer, this will fetch
406-
rows as needed. The upside of this, is the client uses much less memory,
407-
and rows are returned much faster when traveling over a slow network,
406+
rows as needed. The upside of this is the client uses much less memory,
407+
and rows are returned much faster when traveling over a slow network
408408
or if the result set is very big.
409409
410410
There are limitations, though. The MySQL protocol doesn't support

0 commit comments

Comments
 (0)
0