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

Upgrade Python 2 code to Python 3 #890

Merged
merged 4 commits into from
Apr 19, 2024
Merged

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Apr 2, 2024

Print is a function in Python 3. https://docs.python.org/3/whatsnew/3.0.html

@cclauss cclauss changed the title checkfiledocs.py: Upgrade Python 2 code to Python 3 Upgrade Python 2 code to Python 3 Apr 3, 2024
@RossBencina
Copy link
Collaborator

RossBencina commented Apr 5, 2024

Maybe best to add from __future__ import print_function to avoid gratuitously breaking Python 2 support. I think 2.7 was still the version shipped on MacOS not that long ago.

@cclauss
Copy link
Contributor Author

cclauss commented Apr 5, 2024

macOS no longer ships with Python.

@RossBencina RossBencina merged commit 7171f07 into PortAudio:master Apr 19, 2024
11 checks passed
@RossBencina
Copy link
Collaborator

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants