Skip to content

Fix deprecation warnings for PEP224 docstrings of class variables #437

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

Merged
merged 3 commits into from
Mar 9, 2024

Conversation

heseber
Copy link
Contributor

@heseber heseber commented Jan 4, 2024

Fixes #436

ast.Str is deprecated and will be removed in Python 3.14;
use ast.Constant instead
Attribute s is deprecated and will be removed in Python 3.14;
use value instead
DeprecationWarning: Attribute s is deprecated and will be
removed in Python 3.14; use value instead
@kernc
Copy link
Member

kernc commented Mar 9, 2024

Thanks!

@kernc kernc merged commit 14cd51c into pdoc3:master Mar 9, 2024
kernc pushed a commit to kernc/pdoc that referenced this pull request Jun 22, 2024
pdoc3#437)

* Update __init__.py

ast.Str is deprecated and will be removed in Python 3.14;
use ast.Constant instead

* Update __init__.py

Attribute s is deprecated and will be removed in Python 3.14;
use value instead

* Update __init__.py

DeprecationWarning: Attribute s is deprecated and will be
removed in Python 3.14; use value instead
kernc pushed a commit to johann-petrak/pdoc that referenced this pull request Jun 22, 2024
pdoc3#437)

* Update __init__.py

ast.Str is deprecated and will be removed in Python 3.14;
use ast.Constant instead

* Update __init__.py

Attribute s is deprecated and will be removed in Python 3.14;
use value instead

* Update __init__.py

DeprecationWarning: Attribute s is deprecated and will be
removed in Python 3.14; use value instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation warning for PEP224 class variable docstrings
2 participants