Skip to content

Commit

Permalink
Fix typo in docstring and minor formatting (PyMySQL#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
carsonip authored and methane committed Mar 3, 2019
1 parent 7893c5a commit f683ee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MySQLdb/_mysql.c
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ _mysql_ConnectionObject_commit(
}

static char _mysql_ConnectionObject_rollback__doc__[] =
"Rolls backs the current transaction\n\
"Rolls back the current transaction\n\
";
static PyObject *
_mysql_ConnectionObject_rollback(
Expand Down
2 changes: 1 addition & 1 deletion MySQLdb/cursors.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ class Cursor(CursorStoreResultMixIn, CursorTupleRowsMixIn,

class DictCursor(CursorStoreResultMixIn, CursorDictRowsMixIn,
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."""


Expand Down

0 comments on commit f683ee7

Please sign in to comment.