oracle / python-cx_Oracle

Python interface to Oracle Database now superseded by python-oracledb
https://oracle.github.io/python-cx_Oracle
Other
889 stars 361 forks source link

semicolons in Python code examples #629

Closed Gudmundset closed 2 years ago

Gudmundset commented 2 years ago
  1. What is the link to the documentation section that needs improving? https://github.com/oracle/python-cx_Oracle/blob/main/doc/src/user_guide/initialization.rst

  2. Describe the confusion There are semicolons after print statements for python code in three places:

    print(err);
    sys.exit(1);
  3. Suggest changes that would help Remove semicolons and it should be good to go!

anthony-tuininga commented 2 years ago

Thanks for reporting that. These have been removed in the new driver as can be seen here:

https://python-oracledb.readthedocs.io/en/latest/user_guide/initialization.html

I'll make the same changes here!