{ } Raw JSON

bundles / IPython 9.17.0 / IPython / core / oinspect / get_encoding

function

IPython.core.oinspect:get_encoding

source: /dev/ipython/IPython/core/oinspect.py:168

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