##// END OF EJS Templates
Replace usage of os.devnull with subprocess.DEVNULL (#13932)...
Replace usage of os.devnull with subprocess.DEVNULL (#13932) Refactoring one file in the latex library Closes https://github.com/ipython/ipython/issues/13906 # Code changes Replaced one occurence of `open(os.devnull)` with using directly the `subprocess.DEVNULL` special value, removing a with/open block along the way. # User-facing changes None

File last commit:

r27796:5bb0259a
r28092:28f28d56 merge
Show More
docs.py
3 lines | 86 B | text/x-python | PythonLexer
krassowski
Improve type hinting and documentation
r27778 import os
GENERATING_DOCUMENTATION = os.environ.get("IN_SPHINX_RUN", None) == "True"