Fix typo in docstring and minor formatting (#336)

This commit is contained in:
Carson Ip
2019-03-03 11:13:38 +08:00
committed by Inada Naoki
parent 7893c5a97d
commit f683ee7826
2 changed files with 2 additions and 2 deletions

View File

@ -732,7 +732,7 @@ _mysql_ConnectionObject_commit(
} }
static char _mysql_ConnectionObject_rollback__doc__[] = static char _mysql_ConnectionObject_rollback__doc__[] =
"Rolls backs the current transaction\n\ "Rolls back the current transaction\n\
"; ";
static PyObject * static PyObject *
_mysql_ConnectionObject_rollback( _mysql_ConnectionObject_rollback(

View File

@ -471,7 +471,7 @@ class Cursor(CursorStoreResultMixIn, CursorTupleRowsMixIn,
class DictCursor(CursorStoreResultMixIn, CursorDictRowsMixIn, class DictCursor(CursorStoreResultMixIn, CursorDictRowsMixIn,
BaseCursor): BaseCursor):
"""This is a Cursor class that returns rows as dictionaries and """This is a Cursor class that returns rows as dictionaries and
stores the result set in the client.""" stores the result set in the client."""