Typo fixed writeable -> writable

Closes ticket #79.
This commit is contained in:
Daniele Varrazzo 2011-12-11 02:55:29 +00:00
parent ad3a198919
commit 088978e7b1
2 changed files with 3 additions and 3 deletions

View File

@ -528,7 +528,7 @@ The ``cursor`` class
:param sql: the :sql:`COPY` statement to execute. :param sql: the :sql:`COPY` statement to execute.
:param file: a file-like object; must be a readable file for :param file: a file-like object; must be a readable file for
:sql:`COPY FROM` or an writeable file for :sql:`COPY TO`. :sql:`COPY FROM` or an writable file for :sql:`COPY TO`.
:param size: size of the read buffer to be used in :sql:`COPY FROM`. :param size: size of the read buffer to be used in :sql:`COPY FROM`.
Example: Example:

View File

@ -1453,7 +1453,7 @@ exit:
#define psyco_curs_copy_expert_doc \ #define psyco_curs_copy_expert_doc \
"copy_expert(sql, file, size=8192) -- Submit a user-composed COPY statement.\n" \ "copy_expert(sql, file, size=8192) -- Submit a user-composed COPY statement.\n" \
"`file` must be an open, readable file for COPY FROM or an open, writeable\n" \ "`file` must be an open, readable file for COPY FROM or an open, writable\n" \
"file for COPY TO. The optional `size` argument, when specified for a COPY\n" \ "file for COPY TO. The optional `size` argument, when specified for a COPY\n" \
"FROM statement, will be passed to file's read method to control the read\n" \ "FROM statement, will be passed to file's read method to control the read\n" \
"buffer size." "buffer size."
@ -1493,7 +1493,7 @@ psyco_curs_copy_expert(cursorObject *self, PyObject *args, PyObject *kwargs)
) )
{ {
PyErr_SetString(PyExc_TypeError, "file must be a readable file-like" PyErr_SetString(PyExc_TypeError, "file must be a readable file-like"
" object for COPY FROM; a writeable file-like object for COPY TO." " object for COPY FROM; a writable file-like object for COPY TO."
); );
goto exit; goto exit;
} }