minrk / wurlitzer

Capture C-level stdout/stderr in Python
MIT License
194 stars 24 forks source link

Include STDOUT and PIPE in public API #69

Closed sethfischer closed 1 year ago

sethfischer commented 1 year ago

Include STDOUT and PIPE in the public API as the documentation recommends their use.

This will mean linters do not produce warnings like the following:

'STDOUT' is not declared in __all__ 

Examples from the documentation recommending the used of STDOUT and PIPE:

Demo.ipynb:

from wurlitzer import pipes, sys_pipes, STDOUT, PIPE

README.md:

from wurlitzer import pipes, STDOUT
minrk commented 1 year ago

Thanks!

minrk commented 1 year ago

released 3.0.3 with this