Skip to content

Commit 475a51b

Browse files
Spelling updates from John Bampton (#479).
1 parent 3b22367 commit 475a51b

19 files changed

+29
-26
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Examples can be found in the [/samples][samples] directory and the
5959

6060
## Help
6161

62-
Questions can be asked in [Github Discussions][ghdiscussions].
62+
Questions can be asked in [GitHub Discussions][ghdiscussions].
6363

6464
Problem reports can be raised in [GitHub Issues][ghissues].
6565

doc/src/api_manual/module.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2664,7 +2664,7 @@ Oracledb Methods
26642664
are parsed by python-oracledb itself and a generated connect descriptor is
26652665
sent to the Oracle Client libraries. This value is only used in the
26662666
python-oracledb Thick mode. The default value is
2667-
:attr:`defualts.thick_mode_dsn_passthrough`. For more information, see
2667+
:attr:`defaults.thick_mode_dsn_passthrough`. For more information, see
26682668
:ref:`usingconfigfiles`.
26692669

26702670
The ``extra_auth_params`` parameter is expected to be a dictionary

doc/src/release_notes.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ Thick Mode Changes
2929
Common Changes
3030
++++++++++++++
3131

32+
#) Miscellaneous grammar and spelling fixes by John Bampton
33+
(`PR 479 <https://github.com/oracle/python-oracledb/pull/479>`__).
34+
3235

3336
oracledb 3.1.0 (April 2025)
3437
---------------------------
@@ -342,7 +345,7 @@ Thin Mode Changes
342345
connection string.
343346
#) Added :meth:`oracledb.enable_thin_mode()` as a means of enabling
344347
python-oracledb Thin mode without waiting for an initial connection to be
345-
succesfully established. Since python-oracledb defaults to Thin mode, this
348+
successfully established. Since python-oracledb defaults to Thin mode, this
346349
method is mostly useful for applications with multiple threads concurrently
347350
creating connections to databases when the application starts
348351
(`issue 408 <https://github.com/oracle/python-oracledb/issues/408>`__).
@@ -1719,7 +1722,7 @@ cx_Oracle 8.2 (May 2021)
17191722
connection.
17201723
#) Eliminated a memory leak when calling :meth:`SodaOperation.filter()` with a
17211724
dictionary.
1722-
#) The distributed transaction handle assosciated with the connection is now
1725+
#) The distributed transaction handle associated with the connection is now
17231726
cleared on commit or rollback (`issue 530
17241727
<https://github.com/oracle/python-cx_Oracle/issues/530>`__).
17251728
#) Added a check to ensure that when setting variables or object attributes,

doc/src/user_guide/appendix_b.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ differs from the python-oracledb Thick mode in the following ways:
148148
``handle`` parameters. The parameters that are ignored in the Thick mode
149149
include ``wallet_password``, ``disable_oob``, and ``debug_jdwp`` parameters.
150150

151-
* The python-oracledb Thin mode only suppports :ref:`homogeneous
151+
* The python-oracledb Thin mode only supports :ref:`homogeneous
152152
<connpooltypes>` pools.
153153

154154
* The python-oracledb Thin mode creates connections in a daemon thread and so

doc/src/user_guide/connection_handling.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ The :meth:`Connection.is_healthy()` method is an alternative to
25122512
it does not perform a full connection check.
25132513

25142514
If the ``getmode`` parameter in :meth:`oracledb.create_pool()` is set to
2515-
:data:`oracledb.POOL_GETMODE_TIMEDWAIT`, then the maxium amount of time an
2515+
:data:`oracledb.POOL_GETMODE_TIMEDWAIT`, then the maximum amount of time an
25162516
:meth:`~ConnectionPool.acquire()` call will wait to get a connection from the
25172517
pool is limited by the value of the :data:`ConnectionPool.wait_timeout`
25182518
parameter. A call that cannot be immediately satisfied will wait no longer

doc/src/user_guide/exception_handling.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ in the examples below:
8484
DPY-4010: a bind variable replacement value for placeholder ":1" was not provided
8585

8686
* Connection messages: The python-oracledb Thin mode connection and networking
87-
is handled by Python itself. Some errors portable accross operating systems
87+
is handled by Python itself. Some errors portable across operating systems
8888
and Python versions have DPY-prefixed errors displayed by python-oracledb.
8989
Other messages are returned directly from Python and may vary accordingly.
9090
The traditional Oracle connection errors with prefix "ORA" are not shown. For

doc/src/user_guide/extending.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Subclassing Connections
1616
=======================
1717

1818
Subclassing enables applications to change python-oracledb, for example by
19-
extending connection and statement execution behvior. This can be used to
19+
extending connection and statement execution behavior. This can be used to
2020
alter, or log, connection and execution parameters, or to further change
2121
python-oracledb functionality.
2222

@@ -220,7 +220,7 @@ strings prefixed with "myprefix://".
220220
In myhookfunc: protocol=myprefix arg=localhost/orclpdb1
221221
host=localhost, port=1521, service name=orclpdb1
222222

223-
7. To uninstall the plugin, simply remove the packge::
223+
7. To uninstall the plugin, simply remove the package::
224224

225225
python -m pip uninstall myplugin
226226

doc/src/user_guide/initialization.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ going to be used. In one special case, you may wish to explicitly enable Thin
317317
mode to prevent Thick mode from being enabled later.
318318

319319
To allow application portability, the driver's internal logic allows
320-
applications to initally attempt :ref:`standalone connection
320+
applications to initially attempt :ref:`standalone connection
321321
<standaloneconnection>` creation in Thin mode, but then lets them :ref:`enable
322322
Thick mode <enablingthick>` if that connection is unsuccessful. An example is
323323
when trying to connect to an Oracle Database that turns out to be an old

samples/bind_insert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
# Inserting a single bind still needs tuples
8787
# -----------------------------------------------------------------------------
8888

89-
rows = [("Eleventh",), ("Twelth",)]
89+
rows = [("Eleventh",), ("Twelfth",)]
9090

9191
with connection.cursor() as cursor:
9292
cursor.executemany("insert into mytab(id, data) values (12, :1)", rows)

samples/bind_insert_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ async def main():
9292
# Inserting a single bind still needs tuples
9393
# -------------------------------------------------------------------------
9494

95-
rows = [("Eleventh",), ("Twelth",)]
95+
rows = [("Eleventh",), ("Twelfth",)]
9696

9797
await connection.executemany(
9898
"insert into mytab(id, data) values (12, :1)", rows

samples/containers/app_dev/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ It has been tested on macOS using podman and docker.
2323

2424
By default, Apache has SSL enabled and is listening on port 8443.
2525

26-
## Usage for Application Devlopment
26+
## Usage for Application Development
2727

2828
- Run a container:
2929

samples/cqn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def callback(message):
5555
registered = False
5656
return
5757
print("Message database name:", message.dbname)
58-
print("Message tranasction id:", message.txid)
58+
print("Message transaction id:", message.txid)
5959
print("Message queries:")
6060
for query in message.queries:
6161
print("--> Query ID:", query.id)

samples/database_change_notification.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def callback(message):
5555
registered = False
5656
return
5757
print("Message database name:", message.dbname)
58-
print("Message tranasction id:", message.txid)
58+
print("Message transaction id:", message.txid)
5959
print("Message tables:")
6060
for table in message.tables:
6161
print("--> Table Name:", table.name)

samples/json_blob.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
client_version = oracledb.clientversion()[0]
5858
db_version = int(connection.version.split(".")[0])
5959

60-
# Minimum database vesion is 12
60+
# Minimum database version is 12
6161
if db_version < 12:
6262
sys.exit("This example requires Oracle Database 12.1.0.2 or later")
6363

samples/json_blob_async.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def main():
5454
params=sample_env.get_connect_params(),
5555
)
5656

57-
# Minimum database vesion is 12
57+
# Minimum database version is 12
5858
db_version = int(connection.version.split(".")[0])
5959
if db_version < 12:
6060
sys.exit("This example requires Oracle Database 12.1.0.2 or later")

samples/tutorial/Python-and-Oracle-Database-The-New-Wave-of-Scripting.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ <h4>2.2 Connection pool experiments</h4>
860860
<code>numberOfThreads</code>. </p>
861861

862862
<p>Try changing <code>getmode</code> to
863-
<code>oracledb.POOL_GETMODE_NOWAIT</code>, reducing the maxium pool size to
863+
<code>oracledb.POOL_GETMODE_NOWAIT</code>, reducing the maximum pool size to
864864
2, and increasing the number of threads to 3. When
865865
<code>number_of_threads</code> exceeds the maximum size of the pool, the
866866
<code>acquire()</code> call will now generate an error such as
@@ -1073,7 +1073,7 @@ <h4>2.5 More DRCP investigation</h4>
10731073
<code>oracledb.PURITY_NEW</code> to see the effect on the DRCP NUM_MISSES
10741074
statistic.</p>
10751075

1076-
<p>Another experiement is to include the <code>time</code> module at the
1076+
<p>Another experiment is to include the <code>time</code> module at the
10771077
file top:</p>
10781078

10791079
<pre>
@@ -2496,7 +2496,7 @@ <h4>12.1 How to bind named objects</h4>
24962496

24972497
<p>This uses <code>gettype()</code> to get the database types of the SDO
24982498
and its object attributes. The <code>newobject()</code> calls create
2499-
Python representations of those objects. The python object atributes are
2499+
Python representations of those objects. The python object attributes are
25002500
then set. Oracle VARRAY types such as SDO_ELEM_INFO_ARRAY are set with
25012501
<code>extend()</code>.</p>
25022502

@@ -3230,7 +3230,7 @@ <h2> <a name="pipelining">18. Pipelining multiple operations</a></h2>
32303230
</pre>
32313231

32323232
<p>Connection is established using <code>oracledb.connect_async()</code>.
3233-
Asynchronous methods are awated.</p>
3233+
Asynchronous methods are awaited.</p>
32343234

32353235
<p>The script creates a pipeline with <code>create_pipeline()</code> and
32363236
adds two database operations. The use of <code>asyncio.gather()</code>
@@ -3265,7 +3265,7 @@ <h2> <a name="thick">19. Python-oracledb Thick mode</a></h2>
32653265
connectivity to Oracle Database. There are some additional features these
32663266
libraries provide which are therefore only available in python-oracledb Thick
32673267
mode. The next example shows one of these. Other Oracle Database features that
3268-
require python-oracledb Thick mode include Application Continurity, and
3268+
require python-oracledb Thick mode include Application Continuity, and
32693269
Continuous Query Notification. <em>Documentation link for further reading: <a
32703270
href="https://python-oracledb.readthedocs.io/en/latest/user_guide/initialization.html#enabling-python-oracledb-thick-mode"
32713271
>Enabling python-oracledb Thick mode</a></em>.</p>
@@ -3785,7 +3785,7 @@ <h4>Modules</h4>
37853785
These can be installed from PyPI, for example from <a
37863786
href="https://pypi.org/project/oracledb/" >pypi.org/project/oracledb/</a> (as
37873787
shown in the tutorial <a href="#setup" >setup</a> instructions). In some
3788-
enviroments you may prefer to install using a package repository such as <a
3788+
environments you may prefer to install using a package repository such as <a
37893789
href="https://yum.oracle.com/oracle-linux-python.html" >yum.oracle.com</a> for
37903790
Oracle Linux.</p>
37913791

samples/tutorial/setup_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
user=db_config.user, password=db_config.pw, dsn=db_config.dsn
3636
)
3737

38-
# create sample schemas and defintions for the tutorial
38+
# create sample schemas and definitions for the tutorial
3939
print("Setting up the sample tables and other DB objects for the tutorial...")
4040
run_sql_script.run_sql_script(
4141
con, "setup_tutorial", user=db_config.user, pw=db_config.pw

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
thin_depends.append(base_pxd)
7979

8080
# if the platform is macOS:
81-
# - target the minimim OS version that current Python packages work with.
81+
# - target the minimum OS version that current Python packages work with.
8282
# (Use 'otool -l /path/to/python' and look for 'version' in the
8383
# LC_VERSION_MIN_MACOSX section)
8484
# - add argument required for cross-compilation for both x86_64 and arm64

src/oracledb/driver_mode.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def is_thin_mode() -> bool:
127127
oracledb.init_oracle_client() is called successfully, then a subsequent
128128
call to is_thin_mode() will return False indicating that Thick mode is
129129
enabled. Once the first standalone connection or connection pool is
130-
created succesfully, or a call to oracledb.init_oracle_client() is made
130+
created successfully, or a call to oracledb.init_oracle_client() is made
131131
successfully, then python-oracledb's mode is fixed and the value returned
132132
by is_thin_mode() will never change for the lifetime of the process.
133133

0 commit comments

Comments
 (0)