We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1daa6e commit 028e0f9Copy full SHA for 028e0f9
1 file changed
Doc/library/annotationlib.rst
@@ -569,15 +569,15 @@ represented by ``__code__`` uses any keyword defaults.
569
570
This can then be called with:
571
572
-.. code-block:: python
+.. code-block:: pycon
573
574
>>> from annotationlib import call_annotate_function, Format
575
>>> call_annotate_function(Annotate(), format=Format.STRING)
576
{'x': 'MyType'}
577
578
Or used as the annotate function for an object:
579
580
581
582
>>> from annotationlib import get_annotations, Format
583
>>> class C:
0 commit comments