bundles / IPython 9.11.0 / IPython / core / compilerop / CachingCompiler / format_code_name
function
IPython.core.compilerop:CachingCompiler.format_code_name
source: /IPython/core/compilerop.py :119
Signature
def format_code_name ( self , name ) Summary
Return a user-friendly label and name for a code block.
Parameters
name: strThe name for the code block returned from get_code_name
Returns
: A (label, name) pair that can be used in tracebacks, or None if the default formatting should be used.
Aliases
-
IPython.core.compilerop.CachingCompiler.format_code_name