@@ -486,8 +486,8 @@ annotations from the class and puts them in a separate attribute:
486486         return  typ 
487487
488488
489-  Limitations of the ``STRING `` and `` FORWARDREF `` formats 
490- --------------------------------------------------------  
489+  Limitations of the ``STRING `` format 
490+ ------------------------------------ 
491491
492492The :attr: `~Format.STRING ` format is meant to approximate the source code
493493of the annotation, but the implementation strategy used means that it is not
@@ -511,8 +511,9 @@ code execution even with no access to any globals or builtins. For example:
511511  Hello world 
512512  {'x': 'None'} 
513513
514-  (This particular example works as of the time of writing, but it relies on implementation details
515- and is not guaranteed to work in the future.)
514+  .. note ::
515+    This particular example works as of the time of writing, but it relies on
516+    implementation details and is not guaranteed to work in the future.
516517
517518Among the different kinds of expressions that exist in Python,
518519as represented by the :mod: `ast ` module, some expressions are supported,
@@ -570,6 +571,10 @@ The following are disallowed in annotation scopes and therefore not relevant:
570571* :class: `ast.Yield `
571572* :class: `ast.YieldFrom `
572573
574+ 
575+ Limitations of the ``FORWARDREF `` format
576+ ---------------------------------------- 
577+ 
573578The :attr: `~Format.FORWARDREF ` format aims to produce real values as much
574579as possible, with anything that cannot be resolved replaced with
575580:class: `ForwardRef ` objects. It is affected by broadly the same Limitations
0 commit comments