Skip to content

Commit 2c6468d

Browse files
Correct doc.
1 parent 8c99d1d commit 2c6468d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/src/api_manual/cursor.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ Cursor Object
588588

589589

590590
.. method:: Cursor.var(typ, [size, arraysize, inconverter, outconverter, \
591-
typename, encoding_errors, bypass_encoding])
591+
typename, encoding_errors, bypass_decode])
592592

593593
Create a variable with the specified characteristics. This method was
594594
designed for use with PL/SQL in/out variables where the length or type
@@ -648,7 +648,7 @@ Cursor Object
648648
`decode <https://docs.python.org/3/library/stdtypes.html#bytes.decode>`__
649649
function.
650650

651-
The bypass_encoding parameter, if specified, should be passed as a
651+
The bypass_decode parameter, if specified, should be passed as a
652652
boolean value. Passing a `True` value causes values of database types
653653
:data:`~cx_Oracle.DB_TYPE_VARCHAR`, :data:`~cx_Oracle.DB_TYPE_CHAR`,
654654
:data:`~cx_Oracle.DB_TYPE_NVARCHAR`, :data:`~cx_Oracle.DB_TYPE_NCHAR` and
@@ -658,7 +658,7 @@ Cursor Object
658658

659659
.. versionadded:: 8.2
660660

661-
The parameter `bypass_encoding` was added.
661+
The parameter `bypass_decode` was added.
662662

663663
.. versionchanged:: 8.2
664664

0 commit comments

Comments
 (0)