This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / 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