mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 07:34:06 -05:00
I checked for ipython-specific builtins on python 3.11 using ```python import json from subprocess import check_output builtins_python = json.loads(check_output(["python3", "-c" "import json; print(json.dumps(dir(__builtins__)))"])) builtins_ipython = json.loads(check_output(["ipython3", "-c" "import json; print(json.dumps(dir(__builtins__)))"])) print(sorted(set(builtins_ipython) - set(builtins_python))) ``` and updated the relevant constant and match. The list changes from `display` to `__IPYTHON__`, `display`, `get_ipython`. Followup to #8707