C# Class IronPython.Modules.PythonWarnings

Show file Open project: jschementi/iron

Public Methods

Method Description
warn ( CodeContext context, object message, [ category, [ stacklevel ) : void
warn_explicit ( CodeContext context, object message, IronPython.Runtime.Types.PythonType category, string filename, int lineno, [ module, [ registry, [ module_globals ) : void

Private Methods

Method Description
PerformModuleReload ( IronPython.Runtime.PythonContext context, PythonDictionary dict ) : void
formatwarning ( object message, IronPython.Runtime.Types.PythonType category, string filename, int lineno, [ line ) : string
showwarning ( CodeContext context, object message, IronPython.Runtime.Types.PythonType category, string filename, int lineno, [ file, [ line ) : void

Method Details

warn() public static method

public static warn ( CodeContext context, object message, [ category, [ stacklevel ) : void
context CodeContext
message object
category [
stacklevel [
return void

warn_explicit() public static method

public static warn_explicit ( CodeContext context, object message, IronPython.Runtime.Types.PythonType category, string filename, int lineno, [ module, [ registry, [ module_globals ) : void
context CodeContext
message object
category IronPython.Runtime.Types.PythonType
filename string
lineno int
module [
registry [
module_globals [
return void