@@ -109,7 +109,9 @@ class InvalidCursorError(SteadyDBError):
109109def connect (
110110 creator , maxusage = None , setsession = None ,
111111 failures = None , ping = 1 , closeable = True , * args , ** kwargs ):
112- """A tough version of the connection constructor of a DB-API 2 module.
112+ """Create a "tough" connection.
113+
114+ A hardened version of the connection function of a DB-API 2 module.
113115
114116 creator: either an arbitrary function returning new DB-API 2 compliant
115117 connection objects or a DB-API 2 compliant database module
@@ -138,7 +140,7 @@ def connect(
138140
139141
140142class SteadyDBConnection :
141- """A "tough" version of DB-API 2 connections."""
143+ """A hardened version of DB-API 2 connections."""
142144
143145 version = __version__
144146
@@ -477,7 +479,10 @@ def ping(self, *args, **kwargs):
477479 return self ._con .ping (* args , ** kwargs )
478480
479481 def _cursor (self , * args , ** kwargs ):
480- """A "tough" version of the method cursor()."""
482+ """Create a "tough" cursor.
483+
484+ This is a hardened version of the method cursor().
485+ """
481486 # The args and kwargs are not part of the standard,
482487 # but some database modules seem to use these.
483488 transaction = self ._transaction
@@ -527,7 +532,7 @@ def __del__(self):
527532
528533
529534class SteadyDBCursor :
530- """A "tough" version of DB-API 2 cursors."""
535+ """A hardened version of DB-API 2 cursors."""
531536
532537 def __init__ (self , con , * args , ** kwargs ):
533538 """Create a "tough" DB-API 2 cursor."""
0 commit comments