Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cddabbf9
Commit
cddabbf9
authored
Jul 28, 2006
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling.
parent
4793aa39
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
Modules/_sqlite/cursor.c
Modules/_sqlite/cursor.c
+1
-1
Modules/_sqlite/util.c
Modules/_sqlite/util.c
+1
-1
Modules/_sqlite/util.h
Modules/_sqlite/util.h
+1
-1
Modules/socketmodule.c
Modules/socketmodule.c
+1
-1
No files found.
Modules/_sqlite/cursor.c
View file @
cddabbf9
...
@@ -621,7 +621,7 @@ PyObject* _query_execute(Cursor* self, int multiple, PyObject* args)
...
@@ -621,7 +621,7 @@ PyObject* _query_execute(Cursor* self, int multiple, PyObject* args)
}
}
}
else
{
}
else
{
if
(
PyErr_Occurred
())
{
if
(
PyErr_Occurred
())
{
/* there was an error that occured in a user-defined callback */
/* there was an error that occur
r
ed in a user-defined callback */
if
(
_enable_callback_tracebacks
)
{
if
(
_enable_callback_tracebacks
)
{
PyErr_Print
();
PyErr_Print
();
}
else
{
}
else
{
...
...
Modules/_sqlite/util.c
View file @
cddabbf9
...
@@ -38,7 +38,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio
...
@@ -38,7 +38,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio
/**
/**
* Checks the SQLite error code and sets the appropriate DB-API exception.
* Checks the SQLite error code and sets the appropriate DB-API exception.
* Returns the error code (0 means no error occured).
* Returns the error code (0 means no error occur
r
ed).
*/
*/
int
_seterror
(
sqlite3
*
db
)
int
_seterror
(
sqlite3
*
db
)
{
{
...
...
Modules/_sqlite/util.h
View file @
cddabbf9
...
@@ -32,7 +32,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio
...
@@ -32,7 +32,7 @@ int _sqlite_step_with_busyhandler(sqlite3_stmt* statement, Connection* connectio
/**
/**
* Checks the SQLite error code and sets the appropriate DB-API exception.
* Checks the SQLite error code and sets the appropriate DB-API exception.
* Returns the error code (0 means no error occured).
* Returns the error code (0 means no error occur
r
ed).
*/
*/
int
_seterror
(
sqlite3
*
db
);
int
_seterror
(
sqlite3
*
db
);
#endif
#endif
Modules/socketmodule.c
View file @
cddabbf9
...
@@ -2307,7 +2307,7 @@ sock_recv(PySocketSockObject *s, PyObject *args)
...
@@ -2307,7 +2307,7 @@ sock_recv(PySocketSockObject *s, PyObject *args)
/* Call the guts */
/* Call the guts */
outlen
=
sock_recv_guts
(
s
,
PyString_AS_STRING
(
buf
),
recvlen
,
flags
);
outlen
=
sock_recv_guts
(
s
,
PyString_AS_STRING
(
buf
),
recvlen
,
flags
);
if
(
outlen
<
0
)
{
if
(
outlen
<
0
)
{
/* An error occured, release the string and return an
/* An error occur
r
ed, release the string and return an
error. */
error. */
Py_DECREF
(
buf
);
Py_DECREF
(
buf
);
return
NULL
;
return
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment