File: fix-spelling.patch

package info (click to toggle)
python-sqlite 1.0.1-12
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 424 kB
  • ctags: 670
  • sloc: python: 2,127; ansic: 1,544; makefile: 13; sh: 7
file content (25 lines) | stat: -rw-r--r-- 1,118 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Fix spelling.
Author: Joel Rosdahl <joel@debian.org>

Index: python-sqlite/_sqlite.c
===================================================================
--- python-sqlite.orig/_sqlite.c	2011-06-26 14:00:53.835967882 +0200
+++ python-sqlite/_sqlite.c	2011-06-26 14:01:02.855304269 +0200
@@ -751,7 +751,7 @@
 
 static char _con_set_command_logfile_doc[] =
 "set_command_logfile(logfile)\n\
-Registers a writeable file-like object as logfile where all SQL commands\n\
+Registers a writable file-like object as logfile where all SQL commands\n\
 that get executed are written to.";
 
 static PyObject* _con_set_command_logfile(pysqlc* self, PyObject *args, PyObject* kwargs)
@@ -865,7 +865,7 @@
     function.\n\
     \n\
     The signature of the callback function is (arg, values, colnames{, types}).\n\
-    types is ommitted unless use_types is true. If you use 'use_types', you\n\
+    types is omitted unless use_types is true. If you use 'use_types', you\n\
     MUST have issued 'pragma show_datatypes=ON' before.";
 
 static PyObject* _con_sqlite_exec(pysqlc* self, PyObject *args, PyObject* kwargs)