Commit 612ff488 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

Fix the documentation

parent 4901356b
...@@ -22,9 +22,9 @@ This documentation is rudimentary. ...@@ -22,9 +22,9 @@ This documentation is rudimentary.
```python ```python
from my2to3.trace import tracing_functions, apply_fixers from my2to3.trace import tracing_functions, apply_fixers
# `tracing_function` contains all the functions registered with # `tracing_functions` contains all the functions which trace data at runtime.
# `@register_tracing_function`. Add its content to the builtins (or # Add its content to the builtins (or equivalent) of the component to
# equivalent) of the component to monkey-patch, e.g.: # monkey-patch, e.g.:
component_builtins.update({f.__name__: f for f in tracing_functions}) component_builtins.update({f.__name__: f for f in tracing_functions})
# `name` must be a unique name which represents the code to modify, to easily # `name` must be a unique name which represents the code to modify, to easily
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment