pdoc icon indicating copy to clipboard operation
pdoc copied to clipboard

`subprocess.Popen` is documented as `pdoc.extract._PdocDefusedPopen`

Open MatrixManAtYrService opened this issue 5 months ago • 1 comments

Problem Description

class Bar:
    foo: subprocess.Popen[str]
Image

I realize that this substitution protects against surprises during doc generation, but perhaps it can be rendered as the original string in the docs?

System Information

❯ pdoc --version
pdoc: 15.0.4
Python: 3.12.10
Platform: macOS-14.4-arm64-arm-64bit

MatrixManAtYrService avatar Jul 08 '25 16:07 MatrixManAtYrService

Yes, that's definitely a bug. Patches welcome! 😃

mhils avatar Jul 21 '25 14:07 mhils