@@ -1016,8 +1016,8 @@ Yes, accessing a module's ``__dict__`` will reify all lazy objects in that
10161016module. Individual lazy objects can be resolved by calling their ``get() ``
10171017method.
10181018
1019- What's the difference between :func: ` globals ` and ``mod.__dict__ `` for lazy imports?
1020- ------------------------------------------------------------------------------------
1019+ What's the difference between `` globals() ` ` and ``mod.__dict__ `` for lazy imports?
1020+ ----------------------------------------------------------------------------------
10211021
10221022Calling ``globals() `` returns the module's dictionary without reifying lazy
10231023imports -- you'll see lazy proxy objects when accessing them through the
@@ -1149,8 +1149,8 @@ also be loaded if the user uses ``annotationlib.get_annotations()`` or
11491149 pass
11501150 print (foo.__annotations__ ) # Triggers loading the fake_typing module
11511151
1152- How do lazy imports interact with :func: ` dir `, :func: ` getattr `, and module introspection?
1153- -----------------------------------------------------------------------------------------
1152+ How do lazy imports interact with `` dir() ``, `` getattr() ` `, and module introspection?
1153+ -------------------------------------------------------------------------------------
11541154
11551155Accessing lazy imports through normal attribute access or ``getattr() ``
11561156will trigger reification. Calling ``dir() `` on a module will reify all lazy
@@ -1265,8 +1265,8 @@ You can observe the specialization using ``dis.dis(use_json, adaptive=True)``:
12651265 The specialized ``LOAD_GLOBAL_MODULE `` and ``LOAD_ATTR_MODULE `` instructions
12661266are optimized fast paths with no overhead for checking lazy imports.
12671267
1268- What about :data: ` sys.modules `? When does a lazy import appear there?
1269- ---------------------------------------------------------------------
1268+ What about `` sys.modules ` `? When does a lazy import appear there?
1269+ -----------------------------------------------------------------
12701270
12711271A lazily imported module does **not ** appear in ``sys.modules `` until it's
12721272reified (first used). Once reified, it appears in ``sys.modules `` just like
0 commit comments