.. index:: triple: module; search; path
If *filename* indicates a frozen module (starting with ``'<frozen '``), the function
- will attepmt to get the real file name from ``module_globals['__file__']`` if
+ will attempt to get the real file name from ``module_globals['__file__']`` if
*module_globals* is not ``None``.
If a file named *filename* is not found, the function first checks
into something similar to Sphinx productionlist, but better suited
for our needs:
- Instead of `::=`, use a colon, as in `Grammar/python.gram`
- - Show the listing almost as is, with no auto-aligment.
+ - Show the listing almost as is, with no auto-alignment.
The only special character is the backtick, which marks tokens.
Unlike Sphinx's productionlist, this directive supports options.