For top-level functions, None. For nested functions, the parent.
pyclbr/Function.parent
Function.parent