Thanks to visit codestin.com Credit goes to github.com
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.
annotationlib
1 parent 3a89dfe commit c13cc4aCopy full SHA for c13cc4a
1 file changed
Doc/library/annotationlib.rst
@@ -511,7 +511,7 @@ code execution even with no access to any globals or builtins. For example:
511
512
>>> def f(x: (1).__class__.__base__.__subclasses__()[-1].__init__.__builtins__["print"]("Hello world")): pass
513
...
514
- >>> annotationlib.get_annotations(f, format=annotationlib.Format.SOURCE)
+ >>> annotationlib.get_annotations(f, format=annotationlib.Format.STRING)
515
Hello world
516
{'x': 'None'}
517
0 commit comments