Skip to content

Commit 914e2d8

Browse files
Correct documentation (#38).
1 parent c467c31 commit 914e2d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/user_guide/connection_handling.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ may cause complications if the password contains '@' or '/' characters:
142142
port = 1521
143143
service_name = "orclpdb"
144144
145-
dsn = f'{username}/{userpwd}@{port}:{host}/{service_name}'
145+
dsn = f'{username}/{userpwd}@{host}:{port}/{service_name}'
146146
connection = oracledb.connect(dsn)
147147
148148
Closing Connections

0 commit comments

Comments
 (0)