Skip to content

Commit

Permalink
Correct spelling mistakes and formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony-tuininga committed Jul 22, 2019
1 parent d526de1 commit f91f907
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 23 deletions.
4 changes: 2 additions & 2 deletions doc/src/connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Connection Object
.. method:: Connection.__exit__()

The exit point for the connection as a context manager. This will close
the connection and roll back any uncomitted transaction.
the connection and roll back any uncommitted transaction.

.. note::

Expand Down Expand Up @@ -622,7 +622,7 @@ Connection Object
The subscription can be deregistered in the database by calling the
function :meth:`~Connection.unsubscribe()`. If this method is not
called and the connection that was used to create the subscription is
explictly closed using the function :meth:`~Connection.close()`, the
explicitly closed using the function :meth:`~Connection.close()`, the
subscription will not be deregistered in the database.


Expand Down
6 changes: 3 additions & 3 deletions doc/src/cursor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Cursor Object
cursor's arraysize attribute can affect the performance of this operation.

The number of rows to fetch is specified by the parameter. If it is not
given, the cursor's arrysize attribute determines the number of rows to be
given, the cursor's arraysize attribute determines the number of rows to be
fetched. If the number of rows available to be fetched is fewer than the
amount requested, fewer rows will be returned.

Expand Down Expand Up @@ -321,7 +321,7 @@ Cursor Object
.. method:: Cursor.getbatcherrors()

Retrieve the exceptions that took place after a call to
:meth:`~Cursor.executemany()` with batcherors enabled. This will return a
:meth:`~Cursor.executemany()` with batcherrors enabled. This will return a
list of Error objects, one error for each iteration that failed. The offset
can be determined by looking at the offset attribute of the error object.

Expand Down Expand Up @@ -519,7 +519,7 @@ Cursor Object
.. method:: Cursor.var(dataType, [size, arraysize, inconverter, outconverter, \
typename, encodingErrors])

Create a variable with the specified charactistics. This method was
Create a variable with the specified characteristics. This method was
designed for use with PL/SQL in/out variables where the length or type
cannot be determined automatically from the Python object passed in or for
use in input and output type handlers defined on cursors or connections.
Expand Down
18 changes: 10 additions & 8 deletions doc/src/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ Quick Start cx_Oracle Installation
<https://www.oracle.com/database/technologies/appdev/xe.html>`__
release.

Version 19, 18 and 12.2 client libraries can connect to Oracle Database 11.2 or
greater. Version 12.1 client libraries can connect to Oracle Database
10.2 or greater. Version 11.2 client libraries can connect to Oracle
Database 9.2 or greater.
Version 19, 18 and 12.2 client libraries can connect to Oracle Database 11.2
or greater. Version 12.1 client libraries can connect to Oracle Database 10.2
or greater. Version 11.2 client libraries can connect to Oracle Database 9.2
or greater.

The database abstraction layer in cx_Oracle is `ODPI-C
<https://github.com/oracle/odpi>`__, which means that the `ODPI-C
Expand Down Expand Up @@ -445,12 +445,14 @@ To use cx_Oracle with Oracle Instant Client zip files:
SET PATH=C:\oracle\instantclient_18_3;%PATH%
python %*

Invoke this batch file everytime you want to run python.
Invoke this batch file every time you want to run python.

Alternatively use ``SET`` to change your ``PATH`` in each command
prompt window before you run python.

4. Oracle Instant Client libraries require a Visual Studio redistributable with a 64-bit or 32-bit architecture to match Instant Client's architecture. Each Instant Client version requires a different redistributable version:
4. Oracle Instant Client libraries require a Visual Studio redistributable with
a 64-bit or 32-bit architecture to match Instant Client's architecture.
Each Instant Client version requires a different redistributable version:

- For Instant Client 18 or 12.2 install `VS 2013 <https://support.microsoft.com/en-us/kb/2977003#bookmark-vs2013>`__
- For Instant Client 12.1 install `VS 2010 <https://support.microsoft.com/en-us/kb/2977003#bookmark-vs2010>`__
Expand Down Expand Up @@ -685,8 +687,8 @@ If installation fails:
instead.

- Do you get the error "``fatal error: dpi.h: No such file or directory``"
when building from source code? Ensure that your source installation has a
subdirectory called "odpi" containing files. If missing, review the
when building from source code? Ensure that your source installation has
a subdirectory called "odpi" containing files. If missing, review the
section on `Install Using GitHub`_.

If using cx_Oracle fails:
Expand Down
8 changes: 4 additions & 4 deletions doc/src/module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Module Interface
The pool parameter is expected to be a
:ref:`session pool object <sesspool>` and the use of this parameter is the
equivalent of calling :meth:`SessionPool.acquire()`. Parameters not
acecpted by that method are ignored.
accepted by that method are ignored.

The threaded parameter is expected to be a boolean expression which
indicates whether or not Oracle should wrap accesses to connections with a
Expand All @@ -78,7 +78,7 @@ Module Interface

The events parameter is expected to be a boolean expression which indicates
whether or not to initialize Oracle in events mode. This is required for
continuous query notification and high availablity event notifications.
continuous query notification and high availability event notifications.

The cclass parameter is expected to be a string and defines the connection
class for database resident connection pooling (DRCP).
Expand Down Expand Up @@ -412,7 +412,7 @@ parameter for the :meth:`Connection.deq()` method.
.. data:: DEQ_BROWSE

This constant is used to specify that dequeue should read the message
without acquiring any lock on the message (eqivalent to a select
without acquiring any lock on the message (equivalent to a select
statement).


Expand Down Expand Up @@ -1231,7 +1231,7 @@ Exceptions
.. exception:: OperationalError

Exception raised for errors that are related to the operation of the
database but are not necessarily under the control of the progammer. It is
database but are not necessarily under the control of the programmer. It is
a subclass of DatabaseError.


Expand Down
8 changes: 4 additions & 4 deletions doc/src/releasenotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ Version 6.3.1 (May 2018)
- Ensure that a call to unregister a subscription only occurs if the
subscription is still registered.
- Ensure that before a statement is executed any buffers used for DML
returning statments are reset.
returning statements are reset.

#) Ensure that behavior with cx_Oracle.__future__.dml_ret_array_val not
set or False is the same as the behavior in cx_Oracle 6.2
Expand Down Expand Up @@ -548,7 +548,7 @@ Version 6.0.3 (November 2017)
<https://oracle.github.io/odpi/doc/releasenotes.html#
version-2-0-3-november-6-2017>`__.

- Prevent use of unitialized data in certain cases (`issue 77
- Prevent use of uninitialized data in certain cases (`issue 77
<https://github.com/oracle/python-cx_Oracle/issues/77>`__).
- Attempting to ping a database earlier than 10g results in error
"ORA-1010: invalid OCI operation", but that implies a response from the
Expand Down Expand Up @@ -1252,7 +1252,7 @@ Version 4.3.2 (August 2007)
NATIVE_FLOAT to allow specification of a variable of that specific type
where desired. Thanks to D.R. Boxhoorn for pointing out the fact that this
was not working properly when the arraysize was anything other than 1.
#) When calling connection.begin(), only create a new tranasction handle if
#) When calling connection.begin(), only create a new transaction handle if
one is not already associated with the connection. Thanks to Andreas Mock
for discovering this and for Amaury Forgeot d'Arc for diagnosing the
problem and pointing the way to a solution.
Expand Down Expand Up @@ -1399,7 +1399,7 @@ Version 4.1.1 (December 2005)
can drastically affect performance of queries since this seems to be a
common misunderstanding of first time users of cx_Oracle.
#) Add a comment indicating that on HP-UX Itanium with Oracle 10g the library
ttsh10 must alos be linked against. Thanks to Bernard Delmee for the
ttsh10 must also be linked against. Thanks to Bernard Delmee for the
information.


Expand Down
2 changes: 1 addition & 1 deletion doc/src/session_pool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ SessionPool Object
.. method:: SessionPool.close(force=False)

Close the session pool now, rather than when the last reference to it is
released, which makes it unsable for further work.
released, which makes it unusable for further work.

If any connections have been acquired and not released back to the pool
this method will fail unless the force parameter is set to True.
Expand Down
2 changes: 1 addition & 1 deletion doc/src/soda.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ SODA Collection Object

.. attribute:: SodaCollection.metadata

This read-only attribute returns a dicationary containing the metadata that
This read-only attribute returns a dictionary containing the metadata that
was used to create the collection. See this `collection metadata reference
<https://www.oracle.com/pls/topic/
lookup?ctx=dblatest&id=GUID-49EFF3D3-9FAB-4DA6-BDE2-2650383566A3>`__
Expand Down

0 comments on commit f91f907

Please sign in to comment.