mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
Fix typo: "the the"
This commit is contained in:
parent
ee056bc6e8
commit
491296e0f5
|
@ -639,7 +639,7 @@ The ``connection`` class
|
|||
:param new_oid: Create a new object using the specified OID. The
|
||||
function raises `~psycopg2.OperationalError` if the OID is already
|
||||
in use. Default is 0, meaning assign a new one automatically.
|
||||
:param new_file: The name of a file to be imported in the the database
|
||||
:param new_file: The name of a file to be imported in the database
|
||||
(using the |lo_import|_ function)
|
||||
:param lobject_factory: Subclass of
|
||||
`~psycopg2.extensions.lobject` to be instantiated.
|
||||
|
|
|
@ -413,9 +413,9 @@ deal with Python objects adaptation:
|
|||
|
||||
.. method:: getquoted()
|
||||
|
||||
Return the string enclosed in single quotes. Any single quote
|
||||
appearing in the the string is escaped by doubling it according to SQL
|
||||
string constants syntax. Backslashes are escaped too.
|
||||
Return the string enclosed in single quotes. Any single quote appearing
|
||||
in the string is escaped by doubling it according to SQL string
|
||||
constants syntax. Backslashes are escaped too.
|
||||
|
||||
>>> QuotedString(r"O'Reilly").getquoted()
|
||||
"'O''Reilly'"
|
||||
|
@ -758,8 +758,8 @@ methods. The level can be set to one of the following constants:
|
|||
|
||||
.. data:: ISOLATION_LEVEL_READ_COMMITTED
|
||||
|
||||
This is usually the the default PostgreSQL value, but a different default
|
||||
may be set in the database configuration.
|
||||
This is usually the default PostgreSQL value, but a different default may
|
||||
be set in the database configuration.
|
||||
|
||||
A new transaction is started at the first `~cursor.execute()` command on a
|
||||
cursor and at each new `!execute()` after a `~connection.commit()` or a
|
||||
|
|
|
@ -147,7 +147,7 @@ port_get(connInfoObject *self)
|
|||
|
||||
|
||||
static const char options_doc[] =
|
||||
"The command-line options passed in the the connection request.\n"
|
||||
"The command-line options passed in the connection request.\n"
|
||||
"\n"
|
||||
".. seealso:: libpq docs for `PQoptions()`__ for details.\n"
|
||||
".. __: https://www.postgresql.org/docs/current/static/libpq-status.html"
|
||||
|
|
|
@ -673,8 +673,8 @@ RAISES_NEG static int
|
|||
basic_errors_init(PyObject *module)
|
||||
{
|
||||
/* the names of the exceptions here reflect the organization of the
|
||||
psycopg2 module and not the fact the the original error objects
|
||||
live in _psycopg */
|
||||
psycopg2 module and not the fact the original error objects live in
|
||||
_psycopg */
|
||||
|
||||
int i;
|
||||
PyObject *dict = NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user