You are viewing an older version (9.12.0). Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython 9.12.0 / IPython / core / oinspect / get_encoding

function

IPython.core.oinspect:get_encoding

source: /IPython/core/oinspect.py :187

Signature

def   get_encoding ( obj )

Summary

Get encoding for python source file defining obj

Extended Summary

Returns None if obj is not defined in a sourcefile.

Aliases

  • IPython.core.oinspect.get_encoding