Skip to content
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

Update the examples to use print() instead of print #98

Open
JoeJasinski opened this issue Dec 27, 2022 · 2 comments
Open

Update the examples to use print() instead of print #98

JoeJasinski opened this issue Dec 27, 2022 · 2 comments
Assignees
Labels
Milestone

Comments

@JoeJasinski
Copy link

DESCRIPTION

Currently, all of the documentation refers to the 'print ' built-in of python 2.7 days. It should be updated to be the print() statement. While the code itself (as far as I've used it) works with python 3 just fine, the use of the old python syntax is confusing and might discourage users if they think that it does not support python 3.

How to REPRODUCE the issue:

View the README and docsite rst files.

How REPRODUCIBLE (every time? intermittently? only in certain environments?):

It is in the docs

What you EXPECTED to happen:

All examples of print would be print()

What ACTUALLY happened:

VERSION of bitmath effected (git hashes are OK). Did you install from RPM, PyPi, source?

master branch and probably most others

@tbielawa tbielawa self-assigned this Jan 28, 2023
@tbielawa tbielawa added the docs label Jan 28, 2023
@tbielawa tbielawa added this to the 2.0.0 milestone Jan 28, 2023
@tbielawa
Copy link
Owner

That's an excellent point. Bitmath 2.0.0 will be python3 only, I'll make sure this change is included!

tbielawa added a commit that referenced this issue Feb 5, 2023
@tbielawa
Copy link
Owner

tbielawa commented Feb 6, 2023

Should be fixed now in the 2.0 docs https://bitmath.readthedocs.io/en/2023-01-26-no-more-py2/index.html

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

No branches or pull requests

2 participants