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 outdated Python 2 API reference to reflect Python 3 usage docs #3542

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdqst
Copy link

@mdqst mdqst commented Nov 27, 2024

What was wrong?

I noticed that in the documentation, there was a reference to execfile()d, which is an old Python 2 API that is no longer used in Python 3. In Python 3, the correct approach is to use exec() instead. To ensure the documentation stays up to date and accurate, I’ve updated the comment to reflect the correct usage of exec() in Python 3. This change is important for clarity, as it helps avoid confusion for users working with modern Python versions.

Todo:

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

Cute Animal

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.

1 participant