Documentation
In our documentation, lazy in lazy import isn't highlighted as a keyword. This is because the latest version of Pygments, the highlighting library used by Sphinx, does not include the lazy import implementation.
Several weeks ago, I asked Pygments whether they were planning to release this anytime soon, but I haven't gotten a response. So, in the meantime, I think we should pin a development version of Pygments so the PEP 810 examples look correct.
cc @AA-Turner who I discussed this with on Discord a while back
Linked PRs
Documentation
In our documentation,
lazyinlazy importisn't highlighted as a keyword. This is because the latest version of Pygments, the highlighting library used by Sphinx, does not include thelazy importimplementation.Several weeks ago, I asked Pygments whether they were planning to release this anytime soon, but I haven't gotten a response. So, in the meantime, I think we should pin a development version of Pygments so the PEP 810 examples look correct.
cc @AA-Turner who I discussed this with on Discord a while back
Linked PRs