Skip to content

semicolons in Python code examples #629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Gudmundset opened this issue Jun 8, 2022 · 1 comment
Closed

semicolons in Python code examples #629

Gudmundset opened this issue Jun 8, 2022 · 1 comment

Comments

@Gudmundset
Copy link

  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);
  1. Suggest changes that would help
    Remove semicolons and it should be good to go!
@anthony-tuininga
Copy link
Member

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants