-
-
Notifications
You must be signed in to change notification settings - Fork 145
Closed
Description
Expected Behavior
Create output for Python files with PEP224 class variable docstrings without warnings.
Actual Behavior
- .../pdoc/init.py:260: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead
isinstance(str_node.value, ast.Str)): - .../pdoc/init.py:286: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead
docstring = inspect.cleandoc(str_node.value.s).strip()
Steps to Reproduce
- Create a python file with a class with a class variable and annotate the class variable with a PEP224 string
- Run pdoc3 on that file
Additional info
- pdoc version: 0.8.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels