Skip to content

Fix deprecation warnings for PEP224 docstrings of class variables#437

Merged
kernc merged 3 commits intopdoc3:masterfrom
heseber:master
Mar 9, 2024
Merged

Fix deprecation warnings for PEP224 docstrings of class variables#437
kernc merged 3 commits intopdoc3:masterfrom
heseber:master

Conversation

@heseber
Copy link
Copy Markdown
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
Copy Markdown
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