Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add contextlib support to pyhf.schema API #1818

Merged
merged 14 commits into from
Mar 23, 2022
Prev Previous commit
Next Next commit
typo
  • Loading branch information
kratsg committed Mar 23, 2022
commit f340268a0b20c94cb3434f11673296eca8f673b7
4 changes: 2 additions & 2 deletions src/pyhf/schema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Schema(sys.modules[__name__].__class__):

.. rubric:: Example (callable)

.. code-black:: pycon
.. code-block:: pycon

>>> import pyhf.schema
>>> import pathlib
Expand All @@ -44,7 +44,7 @@ class Schema(sys.modules[__name__].__class__):

.. rubric:: Example (context-manager)

.. code-black:: pycon
.. code-block:: pycon

>>> import pyhf.schema
>>> import pathlib
Expand Down