Title: [1019] trunk/pgdb.py: Fix typos
Revision
1019
Author
cito
Date
2019-09-27 12:23:48 -0400 (Fri, 27 Sep 2019)

Log Message

Fix typos

Modified Paths


Diff

Modified: trunk/pgdb.py (1018 => 1019)


--- trunk/pgdb.py	2019-09-27 16:16:00 UTC (rev 1018)
+++ trunk/pgdb.py	2019-09-27 16:23:48 UTC (rev 1019)
@@ -1230,7 +1230,7 @@
         params = []
         if format is not None:
             if not isinstance(format, basestring):
-                raise TypeError("The frmat option must be be a string")
+                raise TypeError("The format option must be be a string")
             if format not in ('text', 'csv', 'binary'):
                 raise ValueError("Invalid format")
             options.append('format %s' % (format,))
@@ -1784,7 +1784,7 @@
 # Additional type helpers for PyGreSQL:
 
 def Interval(days, hours=0, minutes=0, seconds=0, microseconds=0):
-    """Construct an object holding a time inverval value."""
+    """Construct an object holding a time interval value."""
     return timedelta(days, hours=hours, minutes=minutes, seconds=seconds,
         microseconds=microseconds)
 
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo/pygresql

Reply via email to