Skip to content

Commit 028e0f9

Browse files
committed
Use pycon instead of python in output blocks
1 parent a1daa6e commit 028e0f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/annotationlib.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,15 +569,15 @@ represented by ``__code__`` uses any keyword defaults.
569569
570570
This can then be called with:
571571

572-
.. code-block:: python
572+
.. code-block:: pycon
573573
574574
>>> from annotationlib import call_annotate_function, Format
575575
>>> call_annotate_function(Annotate(), format=Format.STRING)
576576
{'x': 'MyType'}
577577
578578
Or used as the annotate function for an object:
579579

580-
.. code-block:: python
580+
.. code-block:: pycon
581581
582582
>>> from annotationlib import get_annotations, Format
583583
>>> class C:

0 commit comments

Comments
 (0)