SYMBOL INDEX (6669 symbols across 322 files) FILE: crates/fuzz/fuzz_targets/string_input_panic.rs function fuzz_limits (line 16) | fn fuzz_limits() -> LimitedTracker { FILE: crates/fuzz/fuzz_targets/tokens_input_panic.rs type Token (line 19) | enum Token { type StringLit (line 64) | enum StringLit { type ShortString (line 74) | enum ShortString { type FloatLit (line 89) | enum FloatLit { type VarName (line 101) | enum VarName { type AttrName (line 128) | enum AttrName { type BinOp (line 156) | enum BinOp { type UnaryOp (line 176) | enum UnaryOp { type CompareOp (line 185) | enum CompareOp { type AugAssign (line 200) | enum AugAssign { type Keyword (line 217) | enum Keyword { type IndentLevel (line 245) | enum IndentLevel { method fmt (line 254) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 291) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 303) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 320) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 334) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 363) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 393) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 415) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 426) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 443) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 462) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 492) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Tokens (line 508) | struct Tokens(Vec); method arbitrary (line 511) | fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result... method fmt (line 517) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method to_code (line 527) | fn to_code(&self) -> String { function fuzz_limits (line 533) | fn fuzz_limits() -> LimitedTracker { FILE: crates/monty-cli/src/main.rs constant DIM (line 19) | const DIM: &str = "\x1b[2m"; constant BOLD_RED (line 21) | const BOLD_RED: &str = "\x1b[1m\x1b[31m"; constant BOLD_GREEN (line 23) | const BOLD_GREEN: &str = "\x1b[1m\x1b[32m"; constant BOLD_CYAN (line 25) | const BOLD_CYAN: &str = "\x1b[1m\x1b[36m"; constant RESET (line 27) | const RESET: &str = "\x1b[0m"; constant ARROW (line 28) | const ARROW: &str = "❯"; type Cli (line 39) | struct Cli { method resource_limits (line 81) | fn resource_limits(&self) -> Option { constant EXT_FUNCTIONS (line 111) | const EXT_FUNCTIONS: bool = false; function main (line 113) | fn main() -> ExitCode { function dispatch_script (line 153) | fn dispatch_script( function dispatch_repl (line 167) | fn dispatch_repl(file_path: &str, code: &str, limits: Option, snip... function run_until_complete (line 381) | fn run_until_complete(mut progress: RunProgress) -... function resolve_external_call (line 427) | fn resolve_external_call(function_name: &str, args: &[MontyObject]) -> R... function read_file (line 446) | fn read_file(file_path: &str) -> Result { type FormattedDuration (line 471) | struct FormattedDuration(Duration); method fmt (line 474) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function sig_digits_after_decimal (line 500) | fn sig_digits_after_decimal(value: f64) -> usize { function parse_memory_size (line 524) | fn parse_memory_size(s: &str) -> Result { FILE: crates/monty-js/__test__/async.spec.ts class ValueError (line 97) | class ValueError extends Error { class ValueError (line 117) | class ValueError extends Error { class ValueError (line 147) | class ValueError extends Error { FILE: crates/monty-js/__test__/print.spec.ts function makePrintCollector (line 9) | function makePrintCollector(t: ExecutionContext) { function makeErrorCallback (line 104) | function makeErrorCallback(error: Error, t: ExecutionContext) { FILE: crates/monty-js/__test__/start.spec.ts function notFoobar (line 158) | function notFoobar(): unknown { FILE: crates/monty-js/build.rs function main (line 9) | fn main() { function sync_package_json_version (line 20) | fn sync_package_json_version() { FILE: crates/monty-js/index-header.d.ts type JsMontyObject (line 3) | type JsMontyObject = any FILE: crates/monty-js/smoke-test/test.ts function assert (line 6) | function assert(condition: boolean, message: string): void { function assertThrows (line 16) | function assertThrows(fn: () => void, errorClass: new (... FILE: crates/monty-js/src/convert.rs constant JS_SAFE_INT_MIN (line 39) | const JS_SAFE_INT_MIN: i64 = -(1_i64 << 53); constant JS_SAFE_INT_MAX (line 40) | const JS_SAFE_INT_MAX: i64 = 1_i64 << 53; type JsMontyObject (line 45) | pub struct JsMontyObject<'env>(pub(crate) Unknown<'env>); function raw (line 49) | pub fn raw(&self) -> sys::napi_value { method to_napi_value (line 55) | unsafe fn to_napi_value(env: sys::napi_env, val: Self) -> Result(obj: &MontyObject, env: &'e Env) -> Result Result> { function create_js_bool (line 121) | fn create_js_bool(b: bool, env: &Env) -> Result> { function create_js_int (line 134) | fn create_js_int(i: i64, env: &Env) -> Result> { function create_js_bigint (line 147) | fn create_js_bigint<'e>(bi: &NumBigInt, env: &'e Env) -> Result(bytes: &[u8], env: &'e Env) -> Result(items: &[MontyObject], env: &'e Env) -> Result(items: &[MontyObject], env: &'e Env) -> Result(pairs: &DictPairs, env: &'e Env) -> Result(items: &[MontyObject], env: &'e Env) -> Result Result> { function create_js_exception (line 252) | fn create_js_exception<'e>(exc_type: ExcType, arg: Option<&str>, env: &'... function create_js_type_marker (line 261) | fn create_js_type_marker<'e>(type_str: &str, env: &'e Env) -> Result(func_str: &str, env: &'e Env) -... function create_js_dataclass (line 277) | fn create_js_dataclass<'e>( function js_to_monty (line 349) | pub fn js_to_monty(value: Unknown<'_>, env: Env) -> Result { function is_js_set (line 455) | fn is_js_set(obj: &Object, env: Env) -> Result { function is_js_map (line 462) | fn is_js_map(obj: &Object, env: Env) -> Result { function js_map_to_monty (line 469) | fn js_map_to_monty(map: Object, env: Env) -> Result { function js_set_to_monty (line 498) | fn js_set_to_monty(set: Object, env: Env) -> Result { function js_array_to_monty (line 521) | fn js_array_to_monty(arr: Object, env: Env) -> Result { function js_marked_object_to_monty (line 540) | fn js_marked_object_to_monty(obj: &Object, monty_type: &str, env: Env) -... function js_object_to_monty_dict (line 617) | fn js_object_to_monty_dict(obj: Object, env: Env) -> Result { function get_string_property (line 635) | fn get_string_property(obj: &Object, name: &str) -> Result) -> fmt::Result { method exception (line 51) | pub fn exception(&self) -> ExceptionInfo { method message (line 61) | pub fn message(&self) -> String { method traceback (line 70) | pub fn traceback(&self) -> Vec { method display (line 81) | pub fn display(&self, format: Option) -> Result { method to_js_string (line 104) | pub fn to_js_string(&self) -> String { method new (line 112) | pub fn new(exc: monty::MontyException) -> Self { type MontyTypingError (line 126) | pub struct MontyTypingError { method fmt (line 134) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method exception (line 144) | pub fn exception(&self) -> ExceptionInfo { method message (line 154) | pub fn message(&self) -> String { method display (line 172) | pub fn display(&self, format: Option, color: Option) -> ... method to_js_string (line 187) | pub fn to_js_string(&self) -> String { method from_failure (line 195) | pub fn from_failure(failure: TypeCheckingDiagnostics) -> Self { type ExceptionInfo (line 211) | pub struct ExceptionInfo { type Frame (line 224) | pub struct Frame { method from_stack_frame (line 244) | pub fn from_stack_frame(frame: &StackFrame) -> Self { function exc_js_to_monty (line 258) | pub fn exc_js_to_monty(js_err: napi::Error) -> ::monty::MontyException { function js_err_to_exc_type (line 265) | fn js_err_to_exc_type(exc: napi::Status) -> ::monty::ExcType { FILE: crates/monty-js/src/limits.rs type JsResourceLimits (line 16) | pub struct JsResourceLimits { method from (line 30) | fn from(js_limits: JsResourceLimits) -> Self { FILE: crates/monty-js/src/monty_cls.rs type Monty (line 73) | pub struct Monty { method create (line 133) | pub fn create( method type_check (line 171) | pub fn type_check(&self, prefix_code: Option) -> Result( method run_with_external_functions (line 234) | fn run_with_external_functions<'env>( method start (line 314) | pub fn start<'env>( method dump (line 361) | pub fn dump(&self) -> Result { method load (line 377) | pub fn load(data: Buffer) -> Result { method script_name (line 390) | pub fn script_name(&self) -> String { method inputs (line 396) | pub fn inputs(&self) -> Vec { method repr (line 402) | pub fn repr(&self) -> String { method extract_input_values (line 419) | fn extract_input_values(&self, inputs: Option>, env: Env) -... type MontyOptions (line 85) | pub struct MontyOptions { type RunOptions (line 99) | pub struct RunOptions<'env> { type StartOptions (line 113) | pub struct StartOptions<'env> { function run_type_check_result (line 427) | fn run_type_check_result(code: &str, script_name: &str, prefix_code: Opt... type EitherRepl (line 450) | enum EitherRepl { type MontyReplOptions (line 461) | pub struct MontyReplOptions { type MontyRepl (line 473) | pub struct MontyRepl { method new (line 488) | pub fn new(options: Option) -> Self { method script_name (line 505) | pub fn script_name(&self) -> String { method feed (line 511) | pub fn feed<'env>( method dump (line 529) | pub fn dump(&self) -> Result { method load (line 541) | pub fn load(data: Buffer) -> Result { method repr (line 553) | pub fn repr(&self) -> String { type ResolvedMontyOptions (line 562) | struct ResolvedMontyOptions { function resolve_monty_options (line 570) | fn resolve_monty_options(options: Option) -> ResolvedMonty... function extract_input_values_in_order (line 590) | fn extract_input_values_in_order( type EitherSnapshot (line 630) | enum EitherSnapshot { method from_snapshot (line 1186) | fn from_snapshot(call: FunctionCall) -> Self { method from_snapshot (line 1192) | fn from_snapshot(call: FunctionCall) -> Self { type MontySnapshot (line 646) | pub struct MontySnapshot { method script_name (line 692) | pub fn script_name(&self) -> String { method function_name (line 698) | pub fn function_name(&self) -> String { method args (line 704) | pub fn args<'env>(&self, env: &'env Env) -> Result(&self, env: &'env Env) -> Result> { method resume (line 732) | pub fn resume<'env>( method dump (line 802) | pub fn dump(&self) -> Result { method load (line 826) | pub fn load(data: Buffer, options: Option) -> Res... method repr (line 846) | pub fn repr(&self) -> String { type ResumeOptions (line 663) | pub struct ResumeOptions<'env> { type ExceptionInput (line 673) | pub struct ExceptionInput { type SnapshotLoadOptions (line 682) | pub struct SnapshotLoadOptions<'env> { type MontyComplete (line 862) | pub struct MontyComplete { method output (line 871) | pub fn output<'env>(&self, env: &'env Env) -> Result String { type EitherLookupSnapshot (line 892) | enum EitherLookupSnapshot { method from_lookup (line 906) | fn from_lookup(lookup: NameLookup) -> Self { method from_lookup (line 912) | fn from_lookup(lookup: NameLookup) -> Self { type FromLookupSnapshot (line 900) | trait FromLookupSnapshot { method from_lookup (line 902) | fn from_lookup(lookup: NameLookup) -> Self; type MontyNameLookup (line 927) | pub struct MontyNameLookup { method script_name (line 959) | pub fn script_name(&self) -> String { method variable_name (line 965) | pub fn variable_name(&self) -> String { method resume (line 978) | pub fn resume<'env>( method dump (line 1032) | pub fn dump(&self) -> Result { method load (line 1056) | pub fn load(data: Buffer, options: Option) -> R... method repr (line 1074) | pub fn repr(&self) -> String { type NameLookupResumeOptions (line 943) | pub struct NameLookupResumeOptions<'env> { type NameLookupLoadOptions (line 950) | pub struct NameLookupLoadOptions<'env> { type JsPrintCallback (line 1083) | type JsPrintCallback<'env> = Function<'env, FnArgs<(&'static str, String... type JsPrintCallbackRef (line 1084) | type JsPrintCallbackRef = FunctionRef, ()>; type CallbackStringPrint (line 1089) | pub struct CallbackStringPrint<'env>(JsPrintCallback<'env>); function new_js (line 1093) | pub fn new_js(env: &'env Env, func: &JsPrintCallback<'env>) -> napi::Res... function new_js_ref (line 1100) | pub fn new_js_ref(env: &'env Env, func: &JsPrintCallbackRef) -> napi::Re... method stdout_write (line 1106) | fn stdout_write(&mut self, output: Cow<'_, str>) -> std::result::Result<... method stdout_push (line 1113) | fn stdout_push(&mut self, end: char) -> std::result::Result<(), MontyExc... function progress_to_result (line 1134) | fn progress_to_result( type FromSnapshot (line 1180) | trait FromSnapshot { method from_snapshot (line 1182) | fn from_snapshot(call: FunctionCall) -> Self; function string_to_exc_type (line 1198) | fn string_to_exc_type(type_name: &str) -> Result { type SerializedMonty (line 1210) | struct SerializedMonty { type SerializedRepl (line 1218) | struct SerializedRepl<'a> { type SerializedReplOwned (line 1225) | struct SerializedReplOwned { type SerializedSnapshot (line 1232) | struct SerializedSnapshot<'a> { type SerializedSnapshotOwned (line 1242) | struct SerializedSnapshotOwned { type SerializedNameLookup (line 1252) | struct SerializedNameLookup<'a> { type SerializedNameLookupOwned (line 1260) | struct SerializedNameLookupOwned { function call_external_function (line 1274) | fn call_external_function( function extract_js_exception (line 1377) | fn extract_js_exception(exception_obj: Object<'_>) -> MontyException { function resolve_name_lookup (line 1397) | fn resolve_name_lookup(external_functions: Option<&Object<'_>>, name: &s... FILE: crates/monty-js/wrapper.ts type JsResourceLimits (line 47) | type JsResourceLimits = ResourceLimits class MontyError (line 55) | class MontyError extends Error { method constructor (line 59) | constructor(typeName: string, message: string) { method exception (line 73) | get exception(): ExceptionInfo { method display (line 84) | display(format: 'type-msg' | 'msg' = 'msg'): string { class MontySyntaxError (line 102) | class MontySyntaxError extends MontyError { method constructor (line 105) | constructor(messageOrNative: string | NativeMontyException) { method display (line 124) | override display(format: 'type-msg' | 'msg' = 'msg'): string { class MontyRuntimeError (line 138) | class MontyRuntimeError extends MontyError { method constructor (line 143) | constructor( method traceback (line 172) | traceback(): Frame[] { method display (line 183) | display(format: 'traceback' | 'type-msg' | 'msg' = 'traceback'): string { type TypingDisplayFormat (line 201) | type TypingDisplayFormat = class MontyTypingError (line 219) | class MontyTypingError extends MontyError { method constructor (line 222) | constructor(messageOrNative: string | NativeMontyTypingError, nativeEr... method displayDiagnostics (line 243) | displayDiagnostics(format: TypingDisplayFormat = 'full', color: boolea... class Monty (line 254) | class Monty { method constructor (line 265) | constructor(code: string, options?: MontyOptions) { method typeCheck (line 288) | typeCheck(prefixCode?: string): void { method run (line 302) | run(options?: RunOptions): JsMontyObject { method start (line 318) | start(options?: StartOptions): MontySnapshot | MontyNameLookup | Monty... method dump (line 326) | dump(): Buffer { method load (line 333) | static load(data: Buffer): Monty { method scriptName (line 340) | get scriptName(): string { method inputs (line 345) | get inputs(): string[] { method repr (line 350) | repr(): string { type MontyReplOptions (line 356) | interface MontyReplOptions { class MontyRepl (line 369) | class MontyRepl { method constructor (line 377) | constructor(options?: MontyReplOptions) { method scriptName (line 382) | get scriptName(): string { method feed (line 393) | feed(code: string): JsMontyObject { method dump (line 402) | dump(): Buffer { method load (line 407) | static load(data: Buffer): MontyRepl { method repr (line 415) | repr(): string { function wrapStartResult (line 423) | function wrapStartResult( class MontySnapshot (line 449) | class MontySnapshot { method constructor (line 452) | constructor(nativeSnapshot: NativeMontySnapshot) { method scriptName (line 457) | get scriptName(): string { method functionName (line 462) | get functionName(): string { method args (line 467) | get args(): JsMontyObject[] { method kwargs (line 472) | get kwargs(): Record { method resume (line 484) | resume(options: ResumeOptions): MontySnapshot | MontyNameLookup | Mont... method dump (line 492) | dump(): Buffer { method load (line 499) | static load(data: Buffer, options?: SnapshotLoadOptions): MontySnapshot { method repr (line 505) | repr(): string { class MontyNameLookup (line 517) | class MontyNameLookup { method constructor (line 520) | constructor(nativeNameLookup: NativeMontyNameLookup) { method scriptName (line 525) | get scriptName(): string { method variableName (line 530) | get variableName(): string { method resume (line 545) | resume(options?: NameLookupResumeOptions): MontySnapshot | MontyNameLo... method dump (line 553) | dump(): Buffer { method load (line 560) | static load(data: Buffer, options?: NameLookupLoadOptions): MontyNameL... method repr (line 566) | repr(): string { class MontyComplete (line 574) | class MontyComplete { method constructor (line 577) | constructor(nativeComplete: NativeMontyComplete) { method output (line 582) | get output(): JsMontyObject { method repr (line 587) | repr(): string { type RunMontyAsyncOptions (line 595) | interface RunMontyAsyncOptions { function runMontyAsync (line 634) | async function runMontyAsync(montyRunner: Monty, options: RunMontyAsyncO... FILE: crates/monty-python/build.rs function main (line 1) | fn main() { FILE: crates/monty-python/example.py function fetch (line 25) | def fetch(url: str) -> str: FILE: crates/monty-python/exercise.py function main (line 14) | def main(): FILE: crates/monty-python/python/pydantic_monty/__init__.py function run_monty_async (line 60) | async def run_monty_async( function run_repl_async (line 93) | async def run_repl_async( function _run_in_pool (line 125) | async def _run_in_pool(func: Callable[[], T]) -> T: function _dispatch_loop (line 135) | async def _dispatch_loop( function _run_external_function (line 237) | async def _run_external_function(call_id: int, coro: Awaitable[Any]) -> ... class ResourceLimits (line 246) | class ResourceLimits(TypedDict, total=False): class ExternalReturnValue (line 269) | class ExternalReturnValue(TypedDict): class ExternalException (line 273) | class ExternalException(TypedDict): class ExternalFuture (line 277) | class ExternalFuture(TypedDict): FILE: crates/monty-python/python/pydantic_monty/_monty.pyi class Monty (line 28) | class Monty: method __new__ (line 37) | def __new__( method type_check (line 65) | def type_check(self, prefix_code: str | None = None) -> None: method run (line 82) | def run( method start (line 113) | def start( method dump (line 142) | def dump(self) -> bytes: method load (line 157) | def load( method register_dataclass (line 177) | def register_dataclass(self, cls: type) -> None: method __repr__ (line 192) | def __repr__(self) -> str: ... class MontyRepl (line 195) | class MontyRepl: method __new__ (line 203) | def __new__( method script_name (line 217) | def script_name(self) -> str: method register_dataclass (line 220) | def register_dataclass(self, cls: type) -> None: method feed_run (line 225) | def feed_run( method feed_start (line 245) | def feed_start( method dump (line 267) | def dump(self) -> bytes: method load (line 271) | def load( class FunctionSnapshot (line 279) | class FunctionSnapshot: method script_name (line 288) | def script_name(self) -> str: method is_os_function (line 292) | def is_os_function(self) -> bool: method is_method_call (line 296) | def is_method_call(self) -> bool: method function_name (line 300) | def function_name(self) -> str | OsFunction: method args (line 307) | def args(self) -> tuple[Any, ...]: method kwargs (line 311) | def kwargs(self) -> dict[str, Any]: method call_id (line 315) | def call_id(self) -> int: method resume (line 319) | def resume(self, *, return_value: Any) -> FunctionSnapshot | NameLooku... method resume (line 344) | def resume( method resume (line 353) | def resume(self, *, future: EllipsisType) -> FunctionSnapshot | NameLo... method dump (line 361) | def dump(self) -> bytes: method __repr__ (line 379) | def __repr__(self) -> str: ... class NameLookupSnapshot (line 382) | class NameLookupSnapshot: method script_name (line 391) | def script_name(self) -> str: method variable_name (line 395) | def variable_name(self) -> str: method resume (line 398) | def resume( method dump (line 426) | def dump(self) -> bytes: method __repr__ (line 444) | def __repr__(self) -> str: ... class FutureSnapshot (line 447) | class FutureSnapshot: method script_name (line 456) | def script_name(self) -> str: method pending_call_ids (line 460) | def pending_call_ids(self) -> list[int]: method resume (line 466) | def resume( method dump (line 492) | def dump(self) -> bytes: method __repr__ (line 510) | def __repr__(self) -> str: ... class MontyComplete (line 513) | class MontyComplete: method output (line 517) | def output(self) -> Any: method __repr__ (line 520) | def __repr__(self) -> str: ... class MontyError (line 522) | class MontyError(Exception): method exception (line 529) | def exception(self) -> BaseException: method __str__ (line 532) | def __str__(self) -> str: class MontySyntaxError (line 536) | class MontySyntaxError(MontyError): method display (line 542) | def display(self, format: Literal['type-msg', 'msg'] = 'msg') -> str: class MontyTypingError (line 551) | class MontyTypingError(MontyError): method display (line 562) | def display( class MontyRuntimeError (line 577) | class MontyRuntimeError(MontyError): method traceback (line 584) | def traceback(self) -> list[Frame]: method display (line 587) | def display(self, format: Literal['traceback', 'type-msg', 'msg'] = 't... class Frame (line 597) | class Frame: method filename (line 601) | def filename(self) -> str: method line (line 605) | def line(self) -> int: method column (line 609) | def column(self) -> int: method end_line (line 613) | def end_line(self) -> int: method end_column (line 617) | def end_column(self) -> int: method function_name (line 621) | def function_name(self) -> str | None: method source_line (line 625) | def source_line(self) -> str | None: method dict (line 628) | def dict(self) -> dict[str, int | str | None]: function load_snapshot (line 631) | def load_snapshot( function load_repl_snapshot (line 655) | def load_repl_snapshot( FILE: crates/monty-python/python/pydantic_monty/os_access.py class StatResult (line 35) | class StatResult(NamedTuple): method file_stat (line 39) | def file_stat(cls, size: int, mode: int = 0o644, mtime: float | None =... method dir_stat (line 59) | def dir_stat(cls, mode: int = 0o755, mtime: float | None = None) -> Self: class AbstractOS (line 111) | class AbstractOS(ABC): method __call__ (line 120) | def __call__(self, function_name: OsFunction, args: tuple[Any, ...], k... method path_exists (line 177) | def path_exists(self, path: PurePosixPath) -> bool: method path_is_file (line 189) | def path_is_file(self, path: PurePosixPath) -> bool: method path_is_dir (line 201) | def path_is_dir(self, path: PurePosixPath) -> bool: method path_is_symlink (line 213) | def path_is_symlink(self, path: PurePosixPath) -> bool: method path_read_text (line 225) | def path_read_text(self, path: PurePosixPath) -> str: method path_read_bytes (line 241) | def path_read_bytes(self, path: PurePosixPath) -> bytes: method path_write_text (line 257) | def path_write_text(self, path: PurePosixPath, data: str) -> int: method path_write_bytes (line 274) | def path_write_bytes(self, path: PurePosixPath, data: bytes) -> int: method path_mkdir (line 291) | def path_mkdir(self, path: PurePosixPath, parents: bool, exist_ok: boo... method path_unlink (line 306) | def path_unlink(self, path: PurePosixPath) -> None: method path_rmdir (line 319) | def path_rmdir(self, path: PurePosixPath) -> None: method path_iterdir (line 333) | def path_iterdir(self, path: PurePosixPath) -> list[PurePosixPath]: method path_stat (line 349) | def path_stat(self, path: PurePosixPath) -> StatResult: method path_rename (line 366) | def path_rename(self, path: PurePosixPath, target: PurePosixPath) -> N... method path_resolve (line 380) | def path_resolve(self, path: PurePosixPath) -> str: method path_absolute (line 392) | def path_absolute(self, path: PurePosixPath) -> str: method getenv (line 404) | def getenv(self, key: str, default: str | None = None) -> str | None: method get_environ (line 417) | def get_environ(self) -> dict[str, str]: class AbstractFile (line 426) | class AbstractFile(Protocol): method read_content (line 455) | def read_content(self) -> str | bytes: method write_content (line 459) | def write_content(self, content: str | bytes) -> None: method delete (line 463) | def delete(self) -> None: function _is_file (line 471) | def _is_file(entry: None | AbstractFile | Tree) -> TypeGuard[AbstractFile]: function _is_dir (line 475) | def _is_dir(entry: None | AbstractFile | Tree) -> TypeGuard[Tree]: class MemoryFile (line 479) | class MemoryFile: method __init__ (line 519) | def __init__(self, path: str | PurePosixPath, content: str | bytes, *,... method read_content (line 533) | def read_content(self) -> str | bytes: method write_content (line 537) | def write_content(self, content: str | bytes) -> None: method delete (line 541) | def delete(self) -> None: method __repr__ (line 545) | def __repr__(self) -> str: class CallbackFile (line 553) | class CallbackFile: method __init__ (line 601) | def __init__( method read_content (line 624) | def read_content(self) -> str | bytes: method write_content (line 628) | def write_content(self, content: str | bytes) -> None: method delete (line 632) | def delete(self) -> None: method __repr__ (line 636) | def __repr__(self) -> str: class OSAccess (line 643) | class OSAccess(AbstractOS): method __init__ (line 670) | def __init__( method __repr__ (line 714) | def __repr__(self) -> str: method path_exists (line 717) | def path_exists(self, path: PurePosixPath) -> bool: method path_is_file (line 720) | def path_is_file(self, path: PurePosixPath) -> bool: method path_is_dir (line 723) | def path_is_dir(self, path: PurePosixPath) -> bool: method path_is_symlink (line 726) | def path_is_symlink(self, path: PurePosixPath) -> bool: method path_read_text (line 729) | def path_read_text(self, path: PurePosixPath) -> str: method path_read_bytes (line 734) | def path_read_bytes(self, path: PurePosixPath) -> bytes: method path_write_text (line 739) | def path_write_text(self, path: PurePosixPath, data: str) -> int: method path_write_bytes (line 743) | def path_write_bytes(self, path: PurePosixPath, data: bytes) -> int: method _write_file (line 747) | def _write_file(self, path: PurePosixPath, data: bytes | str) -> None: method path_mkdir (line 764) | def path_mkdir(self, path: PurePosixPath, parents: bool, exist_ok: boo... method path_unlink (line 791) | def path_unlink(self, path: PurePosixPath) -> None: method path_rmdir (line 799) | def path_rmdir(self, path: PurePosixPath) -> None: method path_iterdir (line 808) | def path_iterdir(self, path: PurePosixPath) -> list[PurePosixPath]: method path_stat (line 813) | def path_stat(self, path: PurePosixPath) -> StatResult: method path_rename (line 822) | def path_rename(self, path: PurePosixPath, target: PurePosixPath) -> N... method path_resolve (line 865) | def path_resolve(self, path: PurePosixPath) -> str: method path_absolute (line 869) | def path_absolute(self, path: PurePosixPath) -> str: method getenv (line 876) | def getenv(self, key: str, default: str | None = None) -> str | None: method get_environ (line 879) | def get_environ(self) -> dict[str, str]: method _get_entry (line 882) | def _get_entry(self, path: PurePosixPath) -> Tree | AbstractFile | None: method _get_entry_exists (line 896) | def _get_entry_exists(self, path: PurePosixPath) -> Tree | AbstractFile: method _get_file (line 903) | def _get_file(self, path: PurePosixPath) -> AbstractFile: method _get_dir (line 910) | def _get_dir(self, path: PurePosixPath) -> Tree: method _parent_entry (line 917) | def _parent_entry(self, path: PurePosixPath) -> Tree | AbstractFile | ... method _update_paths_recursive (line 920) | def _update_paths_recursive(self, tree: Tree, old_prefix: PurePosixPat... FILE: crates/monty-python/src/convert.rs function py_to_monty (line 35) | pub fn py_to_monty(obj: &Bound<'_, PyAny>, dc_registry: &DcRegistry) -> ... function monty_to_py (line 138) | pub fn monty_to_py(py: Python<'_>, obj: &MontyObject, dc_registry: &DcRe... function import_builtins (line 242) | pub fn import_builtins(py: Python<'_>) -> PyResult<&Py> { function get_namedtuple (line 249) | fn get_namedtuple(py: Python<'_>) -> PyResult<&Bound<'_, PyAny>> { function get_pure_posix_path (line 256) | fn get_pure_posix_path(py: Python<'_>) -> PyResult<&Bound<'_, PyAny>> { function get_name (line 262) | pub fn get_name(f: &Bound<'_, PyAny>) -> String { function get_docstring (line 269) | pub fn get_docstring(f: &Bound<'_, PyAny>) -> Option { FILE: crates/monty-python/src/dataclass.rs function is_dataclass (line 28) | pub fn is_dataclass(value: &Bound<'_, PyAny>) -> bool { function dataclass_to_monty (line 41) | pub fn dataclass_to_monty(value: &Bound<'_, PyAny>, dc_registry: &DcRegi... function dataclass_to_py (line 98) | pub fn dataclass_to_py( type DcRegistry (line 143) | pub struct DcRegistry { method new (line 149) | pub fn new(py: Python<'_>) -> Self { method from_list (line 159) | pub fn from_list(py: Python<'_>, dataclass_registry: Option<&Bound<'_,... method clone_ref (line 174) | pub fn clone_ref(&self, py: Python<'_>) -> Self { method insert (line 187) | pub fn insert(&self, obj: &Bound<'_, T>) -> PyResult<()> { method get (line 194) | pub fn get(&self, py: Python<'_>, type_id: u64) -> PyResult) -> PyResult> { method __dataclass_params__ (line 286) | fn __dataclass_params__(&self, py: Python<'_>) -> PyResult> { method __getattr__ (line 319) | fn __getattr__(&self, py: Python<'_>, name: &str) -> PyResult, name: &str, value: Py) ->... method __repr__ (line 344) | fn __repr__(&self, py: Python<'_>) -> PyResult { method __eq__ (line 357) | fn __eq__(&self, py: Python<'_>, other: &Bound<'_, PyAny>) -> PyResult... method __hash__ (line 373) | fn __hash__(&self, py: Python<'_>) -> PyResult { method new (line 404) | pub fn new<'a>( function get_field_marker (line 429) | fn get_field_marker(py: Python<'_>) -> PyResult<&Bound<'_, PyAny>> { function get_missing (line 436) | fn get_missing(py: Python<'_>) -> PyResult<&Bound<'_, PyAny>> { function get_field_class (line 443) | fn get_field_class(py: Python<'_>) -> PyResult<&Bound<'_, PyAny>> { function get_dataclass_params_class (line 450) | fn get_dataclass_params_class(py: Python<'_>) -> PyResult<&Bound<'_, PyA... function get_frozen_instance_error (line 457) | pub fn get_frozen_instance_error(py: Python<'_>) -> PyResult<&Bound<'_, ... FILE: crates/monty-python/src/exceptions.rs type MontyError (line 34) | pub struct MontyError { method new_err (line 46) | pub fn new_err(py: Python<'_>, exc: MontyException) -> PyErr { method new (line 59) | pub fn new(exc: MontyException) -> Self { method exc_type (line 64) | fn exc_type(&self) -> ExcType { method message (line 69) | fn message(&self) -> Option<&str> { method exception (line 80) | fn exception(&self, py: Python<'_>) -> Py { method __str__ (line 85) | fn __str__(&self) -> String { method __repr__ (line 89) | fn __repr__(&self) -> String { type MontySyntaxError (line 104) | pub struct MontySyntaxError; method new_err (line 109) | pub fn new_err(py: Python<'_>, exc: MontyException) -> PyErr { method display (line 128) | fn display(slf: PyRef<'_, Self>, format: &str) -> PyResult { method __str__ (line 140) | fn __str__(slf: PyRef<'_, Self>) -> String { method __repr__ (line 145) | fn __repr__(slf: PyRef<'_, Self>) -> String { type MontyTypingError (line 161) | pub struct MontyTypingError { method new_err (line 168) | pub fn new_err(py: Python<'_>, failure: TypeCheckingDiagnostics) -> Py... method display (line 187) | fn display(&self, format: &str, color: bool) -> PyResult { method __str__ (line 196) | fn __str__(&self) -> String { method __repr__ (line 200) | fn __repr__(&self) -> String { type MontyRuntimeError (line 210) | pub struct MontyRuntimeError { method new_err (line 218) | pub fn new_err(py: Python<'_>, exc: MontyException) -> PyErr { method traceback (line 246) | fn traceback(&self, py: Python<'_>) -> Py { method display (line 257) | fn display(slf: PyRef<'_, Self>, format: &str) -> PyResult { method __str__ (line 269) | fn __str__(slf: PyRef<'_, Self>) -> String { method __repr__ (line 281) | fn __repr__(slf: PyRef<'_, Self>) -> String { type PyFrame (line 299) | pub struct PyFrame { method dict (line 325) | fn dict(&self, py: Python<'_>) -> Py { method __repr__ (line 337) | fn __repr__(&self) -> String { method from_stack_frame (line 349) | pub fn from_stack_frame(frame: &StackFrame) -> Self { function exc_monty_to_py (line 367) | pub fn exc_monty_to_py(py: Python<'_>, exc: MontyException) -> PyErr { function exc_py_to_monty (line 427) | pub fn exc_py_to_monty(py: Python<'_>, py_err: &PyErr) -> MontyException { function exc_to_monty_object (line 436) | pub fn exc_to_monty_object(exc: &Bound<'_, exceptions::PyBaseException>)... function py_err_to_exc_type (line 447) | fn py_err_to_exc_type(exc: &Bound<'_, exceptions::PyBaseException>) -> E... function is_frozen_instance_error (line 541) | fn is_frozen_instance_error(exc: &Bound<'_, exceptions::PyBaseException>... function get_re_pattern_error (line 549) | fn get_re_pattern_error(py: Python<'_>) -> PyResult<&Bound<'_, PyAny>> { FILE: crates/monty-python/src/external.rs function dispatch_method_call (line 28) | pub fn dispatch_method_call( function dispatch_method_call_inner (line 42) | fn dispatch_method_call_inner( type ExternalFunctionRegistry (line 91) | pub struct ExternalFunctionRegistry<'a, 'py> { function new (line 99) | pub fn new(py: Python<'py>, functions: &'py Bound<'py, PyDict>, dc_regis... function call (line 114) | pub fn call( function call_inner (line 128) | fn call_inner( FILE: crates/monty-python/src/lib.rs function get_version (line 25) | fn get_version() -> &'static str { function init (line 73) | fn init(m: &Bound<'_, PyModule>) -> PyResult<()> { FILE: crates/monty-python/src/limits.rs function extract_limits (line 29) | pub fn extract_limits(dict: &Bound<'_, PyDict>) -> PyResult, key: &str) -> PyResu... function extract_optional_f64 (line 65) | fn extract_optional_f64(dict: &Bound<'_, PyDict>, key: &str) -> PyResult... constant SIGNAL_CHECK_INTERVAL (line 78) | const SIGNAL_CHECK_INTERVAL: u16 = 1000; type PySignalTracker (line 86) | pub struct PySignalTracker { function new (line 97) | pub fn new(inner: T) -> Self { function check_python_signals (line 104) | fn check_python_signals(&self) -> Result<(), ResourceError> { method on_allocate (line 119) | fn on_allocate(&mut self, get_size: impl FnOnce() -> usize) -> Result<()... method on_free (line 123) | fn on_free(&mut self, get_size: impl FnOnce() -> usize) { method check_time (line 127) | fn check_time(&self) -> Result<(), ResourceError> { method check_recursion_depth (line 135) | fn check_recursion_depth(&self, current_depth: usize) -> Result<(), Reso... method check_large_result (line 139) | fn check_large_result(&self, estimated_bytes: usize) -> Result<(), Resou... FILE: crates/monty-python/src/monty_cls.rs type PyMonty (line 40) | pub struct PyMonty { method new (line 66) | fn new( method register_dataclass (line 102) | fn register_dataclass(&self, cls: &Bound<'_, PyType>) -> PyResult<()> { method type_check (line 119) | fn type_check(&self, py: Python<'_>, prefix_code: Option<&str>) -> PyR... method run (line 131) | fn run( method start (line 172) | fn start<'py>( method dump (line 230) | fn dump<'py>(&self, py: Python<'py>) -> PyResult> { method load (line 253) | fn load( method __repr__ (line 270) | fn __repr__(&self) -> String { method extract_input_values (line 305) | fn extract_input_values( method run_impl (line 342) | fn run_impl( function py_type_check (line 286) | fn py_type_check(py: Python<'_>, code: &str, script_name: &str, type_stu... type EitherProgress (line 455) | pub(crate) enum EitherProgress { method progress_or_complete (line 467) | pub(crate) fn progress_or_complete( function run_progress_to_py (line 484) | fn run_progress_to_py( function repl_progress_to_py (line 515) | fn repl_progress_to_py( type EitherFunctionSnapshot (line 574) | pub(crate) enum EitherFunctionSnapshot { method from_fn (line 596) | fn from_fn(call: FunctionCall>) -> Self { method from_fn (line 602) | fn from_fn(call: FunctionCall>) -> Self { method from_os (line 614) | fn from_os(call: OsCall>) -> Self { method from_os (line 620) | fn from_os(call: OsCall>) -> Self { method from_repl_fn (line 632) | fn from_repl_fn(call: ReplFunctionCall... method from_repl_fn (line 638) | fn from_repl_fn(call: ReplFunctionCall... method from_repl_os (line 650) | fn from_repl_os(call: ReplOsCall>, own... method from_repl_os (line 656) | fn from_repl_os(call: ReplOsCall>, own... type FromFunctionCall (line 590) | trait FromFunctionCall { method from_fn (line 592) | fn from_fn(call: FunctionCall) -> Self; type FromOsCall (line 608) | trait FromOsCall { method from_os (line 610) | fn from_os(call: OsCall) -> Self; type FromReplFunctionCall (line 626) | trait FromReplFunctionCall { method from_repl_fn (line 628) | fn from_repl_fn(call: ReplFunctionCall, owner: Py) -> ... type FromReplOsCall (line 644) | trait FromReplOsCall { method from_repl_os (line 646) | fn from_repl_os(call: ReplOsCall, owner: Py) -> Self; type PyFunctionSnapshot (line 664) | pub struct PyFunctionSnapshot { method function_call (line 700) | fn function_call( method os_call (line 742) | fn os_call( method repl_function_call (line 780) | fn repl_function_call( method repl_os_call (line 820) | fn repl_os_call( method from_deserialized (line 862) | pub(crate) fn from_deserialized( method resume (line 901) | pub fn resume<'py>(&self, py: Python<'py>, kwargs: Option<&Bound<'_, P... method dump (line 994) | fn dump<'py>(&self, py: Python<'py>) -> PyResult> { method __repr__ (line 1010) | fn __repr__(&self, py: Python<'_>) -> PyResult { type EitherLookupSnapshot (line 1028) | pub(crate) enum EitherLookupSnapshot { method from_name_lookup (line 1044) | fn from_name_lookup(lookup: NameLookup... method from_name_lookup (line 1050) | fn from_name_lookup(lookup: NameLookup... method from_repl_name_lookup (line 1062) | fn from_repl_name_lookup(lookup: ReplNameLookup { method from_name_lookup (line 1040) | fn from_name_lookup(lookup: NameLookup) -> Self; type FromReplNameLookup (line 1056) | trait FromReplNameLookup { method from_repl_name_lookup (line 1058) | fn from_repl_name_lookup(lookup: ReplNameLookup, owner: Py( method repl_name_lookup (line 1118) | fn repl_name_lookup( method from_deserialized (line 1141) | pub(crate) fn from_deserialized( method resume (line 1164) | pub fn resume<'py>(&self, py: Python<'py>, kwargs: Option<&Bound<'_, P... method dump (line 1237) | fn dump<'py>(&self, py: Python<'py>) -> PyResult> { method __repr__ (line 1242) | fn __repr__(&self) -> String { type EitherFutureSnapshot (line 1257) | pub(crate) enum EitherFutureSnapshot { method from_resolve_futures (line 1273) | fn from_resolve_futures(state: ResolveFutures { method from_resolve_futures (line 1269) | fn from_resolve_futures(state: ResolveFutures) -> Self; type FromReplResolveFutures (line 1285) | trait FromReplResolveFutures { method from_repl_resolve_futures (line 1287) | fn from_repl_resolve_futures(state: ReplResolveFutures, owner: Py( method from_deserialized (line 1346) | pub(crate) fn from_deserialized( method repl_resolve_futures (line 1363) | fn repl_resolve_futures( method resume (line 1388) | pub fn resume<'py>(&self, py: Python<'py>, results: &Bound<'_, PyDict>... method pending_call_ids (line 1458) | fn pending_call_ids<'py>(&self, py: Python<'py>) -> PyResult(&self, py: Python<'py>) -> PyResult> { method __repr__ (line 1487) | fn __repr__(&self) -> String { type PyMontyComplete (line 1504) | pub struct PyMontyComplete { method create (line 1511) | fn create<'py>(py: Python<'py>, output: &MontyObject, dc_registry: &Dc... method __repr__ (line 1520) | fn __repr__(&self, py: Python<'_>) -> PyResult { function list_str (line 1525) | fn list_str(arg: Option<&Bound<'_, PyList>>, name: &str) -> PyResult); method new (line 1547) | fn new(callback: &Bound<'_, PyAny>) -> Self { method from_py (line 1552) | pub(crate) fn from_py(callback: Py) -> Self { method stdout_write (line 1558) | fn stdout_write(&mut self, output: Cow<'_, str>) -> Result<(), MontyExce... method stdout_push (line 1566) | fn stdout_push(&mut self, end: char) -> Result<(), MontyException> { function contains_dataclass (line 1581) | fn contains_dataclass(obj: &MontyObject) -> bool { type SerializedMonty (line 1594) | struct SerializedMonty { function extract_external_result (line 1608) | fn extract_external_result( function restore_repl_from_repl_start_error (line 1640) | fn restore_repl_from_repl_start_error( FILE: crates/monty-python/src/repl.rs type EitherRepl (line 30) | pub(crate) enum EitherRepl { method from_core (line 461) | fn from_core(repl: CoreMontyRepl>) -> ... method from_core (line 467) | fn from_core(repl: CoreMontyRepl>) -> ... type PyMontyRepl (line 45) | pub struct PyMontyRepl { method new (line 62) | fn new( method register_dataclass (line 87) | fn register_dataclass(&self, cls: &Bound<'_, pyo3::types::PyType>) -> ... method feed_run (line 100) | fn feed_run<'py>( method feed_start (line 151) | fn feed_start<'py>( method dump (line 198) | fn dump<'py>(&self, py: Python<'py>) -> PyResult> { method load (line 221) | fn load( method __repr__ (line 242) | fn __repr__(&self) -> String { method feed_run_with_externals (line 255) | fn feed_run_with_externals<'py>( method feed_start_loop (line 291) | fn feed_start_loop( method take_repl (line 394) | pub(crate) fn take_repl(&self) -> PyResult { method empty_owner (line 409) | pub(crate) fn empty_owner(script_name: String, dc_registry: DcRegistry... method put_repl (line 418) | pub(crate) fn put_repl(&self, repl: EitherRepl) { method restore_repl_from_start_error (line 425) | fn restore_repl_from_start_error(&self, py: Python... function extract_repl_inputs (line 436) | fn extract_repl_inputs( type FromCoreRepl (line 455) | pub(crate) trait FromCoreRepl { method from_core (line 457) | fn from_core(repl: CoreMontyRepl) -> Self; FILE: crates/monty-python/src/serialization.rs constant SERIALIZATION_VERSION (line 38) | const SERIALIZATION_VERSION: u16 = 1; constant HEADER_SIZE (line 41) | const HEADER_SIZE: usize = 2 + 32; function serialize_with_header (line 50) | fn serialize_with_header(value: &impl Serialize) -> Result, post... function deserialize_with_header (line 63) | fn deserialize_with_header<'de, T: Deserialize<'de>>(bytes: &'de [u8]) -... type SerializedSnapshot (line 100) | pub(crate) enum SerializedSnapshot { type SerializedReplSnapshot (line 134) | pub(crate) enum SerializedReplSnapshot { type SerdeFunctionSnapshot (line 171) | pub(crate) enum SerdeFunctionSnapshot { method into_either (line 202) | fn into_either(self) -> PyResult { method into_either_with_repl (line 219) | fn into_either_with_repl(self, owner: Py) -> EitherFuncti... type SerdeFunctionSnapshotRef (line 185) | enum SerdeFunctionSnapshotRef<'a> { method as_serde_ref (line 236) | fn as_serde_ref(&self) -> SerdeFunctionSnapshotRef<'_> { type SerdeLookupSnapshot (line 253) | pub(crate) enum SerdeLookupSnapshot { method into_either (line 273) | fn into_either(self) -> PyResult { method into_either_with_repl (line 285) | fn into_either_with_repl(self, owner: Py) -> EitherLookup... type SerdeLookupSnapshotRef (line 263) | enum SerdeLookupSnapshotRef<'a> { method as_serde_ref (line 298) | fn as_serde_ref(&self) -> SerdeLookupSnapshotRef<'_> { type SerdeFutureSnapshot (line 311) | pub(crate) enum SerdeFutureSnapshot { method into_either (line 331) | fn into_either(self) -> PyResult { method into_either_with_repl (line 343) | fn into_either_with_repl(self, owner: Py) -> EitherFuture... type SerdeFutureSnapshotRef (line 321) | enum SerdeFutureSnapshotRef<'a> { method as_serde_ref (line 356) | fn as_serde_ref(&self) -> SerdeFutureSnapshotRef<'_> { function dump_function_snapshot (line 376) | pub(crate) fn dump_function_snapshot( function dump_lookup_snapshot (line 428) | pub(crate) fn dump_lookup_snapshot( function dump_future_snapshot (line 460) | pub(crate) fn dump_future_snapshot( type SerializedSnapshotRef (line 494) | enum SerializedSnapshotRef<'a> { type SerializedReplSnapshotRef (line 518) | enum SerializedReplSnapshotRef<'a> { function load_snapshot (line 550) | pub(crate) fn load_snapshot<'py>( function load_repl_snapshot (line 609) | pub(crate) fn load_repl_snapshot<'py>( function create_empty_py_repl (line 679) | fn create_empty_py_repl(py: Python<'_>, script_name: &str, dc_registry: ... function convert_args_to_monty (line 689) | fn convert_args_to_monty(py: Python<'_>, args: &Py, dc_registry... function convert_kwargs_to_monty (line 697) | fn convert_kwargs_to_monty( function monty_objects_to_py_tuple (line 710) | fn monty_objects_to_py_tuple( function monty_pairs_to_py_dict (line 723) | fn monty_pairs_to_py_dict( method is_repl (line 741) | pub(crate) fn is_repl(&self) -> bool { method is_repl (line 751) | pub(crate) fn is_repl(&self) -> bool { method is_repl (line 758) | pub(crate) fn is_repl(&self) -> bool { FILE: crates/monty-python/tests/test_async.py function test_async (line 11) | def test_async(): function test_asyncio_gather (line 27) | def test_asyncio_gather(): function test_run_monty_async_sync_function (line 76) | async def test_run_monty_async_sync_function(): function test_run_monty_async_async_function (line 87) | async def test_run_monty_async_async_function(): function test_run_monty_async_function_not_found (line 99) | async def test_run_monty_async_function_not_found(): function test_run_monty_async_sync_exception (line 110) | async def test_run_monty_async_sync_exception(): function test_run_monty_async_async_exception (line 124) | async def test_run_monty_async_async_exception(): function test_run_monty_async_exception_caught (line 139) | async def test_run_monty_async_exception_caught(): function test_run_monty_async_multiple_async_functions (line 157) | async def test_run_monty_async_multiple_async_functions(): function test_run_monty_async_mixed_sync_async (line 177) | async def test_run_monty_async_mixed_sync_async(): function test_run_monty_async_with_inputs (line 197) | async def test_run_monty_async_with_inputs(): function test_run_monty_async_with_print_callback (line 208) | async def test_run_monty_async_with_print_callback(): function test_run_monty_async_function_returning_none (line 221) | async def test_run_monty_async_function_returning_none(): function test_run_monty_async_no_external_calls (line 232) | async def test_run_monty_async_no_external_calls(): function test_run_monty_async_with_os (line 242) | async def test_run_monty_async_with_os(): function test_run_monty_async_os_with_external_functions (line 259) | async def test_run_monty_async_os_with_external_functions(): function test_run_monty_async_os_file_not_found (line 284) | async def test_run_monty_async_os_file_not_found(): function test_run_monty_async_os_not_provided (line 302) | async def test_run_monty_async_os_not_provided(): function test_run_monty_async_nested_gather_with_external_functions (line 319) | async def test_run_monty_async_nested_gather_with_external_functions(): function test_run_monty_async_os_write_and_read (line 393) | async def test_run_monty_async_os_write_and_read(): function test_repl_feed_start_async_gather (line 415) | def test_repl_feed_start_async_gather(): function test_repl_feed_start_async_state_persistence (line 446) | def test_repl_feed_start_async_state_persistence(): function test_run_repl_async_sync_function (line 470) | async def test_run_repl_async_sync_function(): function test_run_repl_async_async_function (line 481) | async def test_run_repl_async_async_function(): function test_run_repl_async_state_persists (line 493) | async def test_run_repl_async_state_persists(): function test_run_repl_async_async_state_persists (line 507) | async def test_run_repl_async_async_state_persists(): function test_run_repl_async_gather (line 521) | async def test_run_repl_async_gather(): function test_run_repl_async_function_not_found (line 541) | async def test_run_repl_async_function_not_found(): function test_run_repl_async_error_preserves_state (line 552) | async def test_run_repl_async_error_preserves_state(): function test_run_repl_async_with_inputs (line 567) | async def test_run_repl_async_with_inputs(): function test_run_repl_async_with_print_callback (line 578) | async def test_run_repl_async_with_print_callback(): function test_run_repl_async_with_os (line 590) | async def test_run_repl_async_with_os(): function test_run_repl_async_mixed_sync_async (line 605) | async def test_run_repl_async_mixed_sync_async(): function test_run_repl_async_no_external_calls (line 625) | async def test_run_repl_async_no_external_calls(): function test_repl_llm_iterative_data_collection (line 635) | async def test_repl_llm_iterative_data_collection(): function test_repl_llm_error_recovery_retry (line 691) | async def test_repl_llm_error_recovery_retry(): function test_repl_llm_redefine_helper_function (line 724) | async def test_repl_llm_redefine_helper_function(): function test_repl_llm_sequential_async_pipeline (line 771) | async def test_repl_llm_sequential_async_pipeline(): function test_repl_llm_gather_fan_out (line 802) | async def test_repl_llm_gather_fan_out(): function test_repl_llm_try_except_around_external (line 823) | async def test_repl_llm_try_except_around_external(): function test_repl_llm_conditional_external_call (line 847) | async def test_repl_llm_conditional_external_call(): function test_repl_llm_side_effect_recording (line 879) | async def test_repl_llm_side_effect_recording(): function test_repl_llm_helper_wrapping_externals_with_retry (line 908) | async def test_repl_llm_helper_wrapping_externals_with_retry(): function test_repl_llm_nested_gather_with_sequential_deps (line 944) | async def test_repl_llm_nested_gather_with_sequential_deps(): function test_repl_llm_external_returns_complex_nested_structure (line 982) | async def test_repl_llm_external_returns_complex_nested_structure(): function test_repl_llm_external_with_kwargs (line 1019) | async def test_repl_llm_external_with_kwargs(): function test_repl_llm_os_read_then_process_with_external (line 1037) | async def test_repl_llm_os_read_then_process_with_external(): function test_repl_llm_long_multi_step_session (line 1066) | async def test_repl_llm_long_multi_step_session(): function test_repl_llm_string_manipulation_of_external_result (line 1141) | async def test_repl_llm_string_manipulation_of_external_result(): function test_repl_llm_syntax_error_then_fix (line 1183) | async def test_repl_llm_syntax_error_then_fix(): FILE: crates/monty-python/tests/test_basic.py function test_simple_expression (line 6) | def test_simple_expression(): function test_arithmetic (line 11) | def test_arithmetic(): function test_string_concatenation (line 16) | def test_string_concatenation(): function test_multiple_runs_same_instance (line 21) | def test_multiple_runs_same_instance(): function test_repr_no_inputs (line 28) | def test_repr_no_inputs(): function test_repr_with_inputs (line 33) | def test_repr_with_inputs(): function test_repr_with_external_functions (line 38) | def test_repr_with_external_functions(): function test_repr_with_inputs_and_external_functions (line 43) | def test_repr_with_inputs_and_external_functions(): function test_multiline_code (line 48) | def test_multiline_code(): function test_function_definition_and_call (line 58) | def test_function_definition_and_call(): FILE: crates/monty-python/tests/test_dataclasses.py class Person (line 18) | class Person: function test_dataclass_input (line 23) | def test_dataclass_input(): function test_dataclass_auto_registered (line 37) | def test_dataclass_auto_registered(): class Point (line 51) | class Point: function test_dataclass_frozen (line 56) | def test_dataclass_frozen(): class Address (line 68) | class Address: class PersonAddress (line 74) | class PersonAddress: function test_dataclass_nested (line 79) | def test_dataclass_nested(): function test_dataclass_nested_auto_registered (line 93) | def test_dataclass_nested_auto_registered(): function test_dataclass_auto_registered_in_list (line 104) | def test_dataclass_auto_registered_in_list(): function test_dataclass_auto_registered_in_dict_value (line 113) | def test_dataclass_auto_registered_in_dict_value(): function test_dataclass_explicit_registry_idempotent (line 122) | def test_dataclass_explicit_registry_idempotent(): function test_dataclass_with_list_field (line 132) | def test_dataclass_with_list_field(): function test_dataclass_with_dict_field (line 144) | def test_dataclass_with_dict_field(): function test_dataclass_empty (line 157) | def test_dataclass_empty(): function test_dataclass_type_raises (line 171) | def test_dataclass_type_raises(): function test_dataclass_field_access (line 189) | def test_dataclass_field_access(): function test_dataclass_field_access_nested (line 204) | def test_dataclass_field_access_nested(): function test_dataclass_field_in_expression (line 212) | def test_dataclass_field_in_expression(): function test_dataclass_field_access_missing (line 224) | def test_dataclass_field_access_missing(): function test_dataclass_repr (line 240) | def test_dataclass_repr(): function test_dataclass_repr_frozen (line 252) | def test_dataclass_repr_frozen(): function test_dataclass_repr_nested (line 264) | def test_dataclass_repr_nested(): function test_dataclass_repr_empty (line 279) | def test_dataclass_repr_empty(): function test_dataclass_setattr_mutable (line 294) | def test_dataclass_setattr_mutable(): function test_dataclass_setattr_frozen (line 312) | def test_dataclass_setattr_frozen(): function test_frozen_instance_error_is_attribute_error (line 331) | def test_frozen_instance_error_is_attribute_error(): function test_frozen_instance_error_message (line 353) | def test_frozen_instance_error_message(): function test_frozen_instance_error_from_monty_code (line 369) | def test_frozen_instance_error_from_monty_code(): function test_frozen_instance_error_from_monty_caught_as_attribute_error (line 390) | def test_frozen_instance_error_from_monty_caught_as_attribute_error(): function test_frozen_instance_error_from_external_function (line 410) | def test_frozen_instance_error_from_external_function(): function test_frozen_instance_error_from_external_function_propagates (line 431) | def test_frozen_instance_error_from_external_function_propagates(): function test_dataclass_equality_same (line 448) | def test_dataclass_equality_same(): function test_dataclass_equality_different_values (line 461) | def test_dataclass_equality_different_values(): function test_dataclass_equality_different_types (line 474) | def test_dataclass_equality_different_types(): function test_dataclass_equality_with_other_type (line 492) | def test_dataclass_equality_with_other_type(): function test_dataclass_hash_frozen (line 510) | def test_dataclass_hash_frozen(): function test_dataclass_hash_frozen_equal_values (line 527) | def test_dataclass_hash_frozen_equal_values(): function test_dataclass_hash_mutable_raises (line 541) | def test_dataclass_hash_mutable_raises(): function test_dataclass_hash_in_set (line 556) | def test_dataclass_hash_in_set(): function test_dataclass_hash_as_dict_key (line 577) | def test_dataclass_hash_as_dict_key(): function test_dataclass_is_dataclass (line 595) | def test_dataclass_is_dataclass(): function test_dataclass_fields (line 608) | def test_dataclass_fields(): function test_dataclass_fields_string (line 628) | def test_dataclass_fields_string(): function test_dataclass_asdict (line 643) | def test_dataclass_asdict(): function test_dataclass_asdict_nested (line 658) | def test_dataclass_asdict_nested(): function test_dataclass_astuple (line 676) | def test_dataclass_astuple(): function test_dataclass_dataclass_fields_attr (line 691) | def test_dataclass_dataclass_fields_attr(): function test_dataclass_params_frozen (line 709) | def test_dataclass_params_frozen(): function test_dataclass_params_attributes (line 729) | def test_dataclass_params_attributes(): function test_repeat_dataclass_name (line 748) | def test_repeat_dataclass_name(): class Greeter (line 770) | class Greeter: method greet (line 773) | def greet(self) -> str: class Calculator (line 778) | class Calculator: method add (line 781) | def add(self, n: int) -> int: method multiply (line 784) | def multiply(self, n: int) -> int: class Point2D (line 789) | class Point2D: method distance (line 793) | def distance(self) -> float: method translate (line 796) | def translate(self, dx: float, dy: float) -> 'Point2D': function test_method_no_args_raw (line 800) | def test_method_no_args_raw(): function test_method_no_args (line 811) | def test_method_no_args(): function test_method_with_args (line 818) | def test_method_with_args(): function test_method_accessing_fields (line 825) | def test_method_accessing_fields(): function test_method_returning_dataclass (line 832) | def test_method_returning_dataclass(): function test_method_on_frozen_dataclass (line 841) | def test_method_on_frozen_dataclass(): function test_method_with_kwargs (line 856) | def test_method_with_kwargs(): function test_method_multiple_calls (line 875) | def test_method_multiple_calls(): function test_method_nonexistent_raises (line 886) | def test_method_nonexistent_raises(): function test_method_on_nested_dataclass_in_list (line 894) | def test_method_on_nested_dataclass_in_list(): function test_method_on_nested_dataclass_in_dict (line 901) | def test_method_on_nested_dataclass_in_dict(): function test_method_on_nested_dataclass_in_tuple (line 908) | def test_method_on_nested_dataclass_in_tuple(): function test_dataclass_private_fields_skipped (line 915) | def test_dataclass_private_fields_skipped(): function test_dataclass_private_fields_skipped_no_default (line 928) | def test_dataclass_private_fields_skipped_no_default(): function test_dataclass_private_field_not_accessible_in_monty (line 941) | def test_dataclass_private_field_not_accessible_in_monty(): function test_method_on_nested_dataclass_field (line 955) | def test_method_on_nested_dataclass_field(): FILE: crates/monty-python/tests/test_exceptions.py function test_zero_division_error (line 9) | def test_zero_division_error(): function test_value_error (line 20) | def test_value_error(): function test_type_error (line 29) | def test_type_error(): function test_index_error (line 37) | def test_index_error(): function test_key_error (line 45) | def test_key_error(): function test_attribute_error (line 53) | def test_attribute_error(): function test_name_error (line 62) | def test_name_error(): function test_assertion_error (line 70) | def test_assertion_error(): function test_assertion_error_with_message (line 78) | def test_assertion_error_with_message(): function test_runtime_error (line 87) | def test_runtime_error(): function test_not_implemented_error (line 96) | def test_not_implemented_error(): function test_syntax_error_on_init (line 108) | def test_syntax_error_on_init(): function test_syntax_error_unclosed_paren (line 118) | def test_syntax_error_unclosed_paren(): function test_syntax_error_invalid_syntax (line 125) | def test_syntax_error_invalid_syntax(): function test_catch_with_base_class (line 135) | def test_catch_with_base_class(): function test_catch_syntax_error_with_base_class (line 141) | def test_catch_syntax_error_with_base_class(): function test_raise_caught_exception (line 149) | def test_raise_caught_exception(): function test_exception_in_function (line 161) | def test_exception_in_function(): function test_display_traceback (line 179) | def test_display_traceback(): function test_display_type_msg (line 188) | def test_display_type_msg(): function test_runtime_display (line 196) | def test_runtime_display(): function test_str_returns_msg (line 210) | def test_str_returns_msg(): function test_syntax_error_display (line 217) | def test_syntax_error_display(): function test_syntax_error_str (line 224) | def test_syntax_error_str(): function test_traceback_frames (line 234) | def test_traceback_frames(): function test_frame_properties (line 297) | def test_frame_properties(): function test_runtime_error_repr (line 336) | def test_runtime_error_repr(): function test_syntax_error_repr (line 343) | def test_syntax_error_repr(): function test_frame_repr (line 349) | def test_frame_repr(): FILE: crates/monty-python/tests/test_external.py function test_external_function_no_args (line 9) | def test_external_function_no_args(): function test_external_function_positional_args (line 20) | def test_external_function_positional_args(): function test_external_function_kwargs_only (line 31) | def test_external_function_kwargs_only(): function test_external_function_mixed_args_kwargs (line 42) | def test_external_function_mixed_args_kwargs(): function test_external_function_complex_types (line 53) | def test_external_function_complex_types(): function test_external_function_returns_none (line 64) | def test_external_function_returns_none(): function test_external_function_returns_complex_type (line 74) | def test_external_function_returns_complex_type(): function test_multiple_external_functions (line 84) | def test_multiple_external_functions(): function test_external_function_called_multiple_times (line 101) | def test_external_function_called_multiple_times(): function test_external_function_with_input (line 118) | def test_external_function_with_input(): function test_external_function_not_provided_raises_name_error (line 129) | def test_external_function_not_provided_raises_name_error(): function test_undeclared_function_raises_name_error (line 140) | def test_undeclared_function_raises_name_error(): function test_external_function_raises_exception (line 150) | def test_external_function_raises_exception(): function test_external_function_wrong_name_raises (line 164) | def test_external_function_wrong_name_raises(): function test_external_function_exception_caught_by_try_except (line 178) | def test_external_function_exception_caught_by_try_except(): function test_external_function_exception_type_preserved (line 196) | def test_external_function_exception_type_preserved(): function test_external_function_exception_hierarchy (line 233) | def test_external_function_exception_hierarchy(exception_class: type[Bas... function test_external_function_exception_caught_by_parent (line 261) | def test_external_function_exception_caught_by_parent( function test_external_function_exception_caught_specifically (line 295) | def test_external_function_exception_caught_specifically(exception_class... function test_external_function_exception_in_expression (line 313) | def test_external_function_exception_in_expression(): function test_external_function_exception_after_successful_call (line 327) | def test_external_function_exception_after_successful_call(): function test_external_function_exception_with_finally (line 349) | def test_external_function_exception_with_finally(): FILE: crates/monty-python/tests/test_inputs.py function test_single_input (line 7) | def test_single_input(): function test_multiple_inputs (line 12) | def test_multiple_inputs(): function test_input_used_in_expression (line 17) | def test_input_used_in_expression(): function test_input_string (line 22) | def test_input_string(): function test_input_list (line 27) | def test_input_list(): function test_input_dict (line 32) | def test_input_dict(): function test_missing_input_raises (line 37) | def test_missing_input_raises(): function test_all_inputs_missing_raises (line 43) | def test_all_inputs_missing_raises(): function test_no_inputs_declared_but_provided_raises (line 49) | def test_no_inputs_declared_but_provided_raises(): function test_inputs_order_independent (line 57) | def test_inputs_order_independent(): function test_function_param_shadows_input (line 63) | def test_function_param_shadows_input(): function test_function_param_shadows_input_multiple_params (line 76) | def test_function_param_shadows_input_multiple_params(): function test_input_accessible_outside_shadowing_function (line 89) | def test_input_accessible_outside_shadowing_function(): function test_function_param_shadows_input_with_default (line 103) | def test_function_param_shadows_input_with_default(): function test_function_uses_input_directly (line 116) | def test_function_uses_input_directly(): FILE: crates/monty-python/tests/test_limits.py function test_resource_limits_custom (line 14) | def test_resource_limits_custom(): function test_resource_limits_repr (line 29) | def test_resource_limits_repr(): function test_run_with_limits (line 34) | def test_run_with_limits(): function test_recursion_limit (line 40) | def test_recursion_limit(): function test_recursion_limit_ok (line 56) | def test_recursion_limit_ok(): function test_allocation_limit (line 70) | def test_allocation_limit(): function test_memory_limit (line 86) | def test_memory_limit(): function test_limits_with_inputs (line 100) | def test_limits_with_inputs(): function test_limits_wrong_type_raises_error (line 106) | def test_limits_wrong_type_raises_error(): function test_limits_none_value_allowed (line 112) | def test_limits_none_value_allowed(): function test_signal_alarm_custom_error (line 118) | def test_signal_alarm_custom_error(): function _send_sigint_after_delay (line 157) | def _send_sigint_after_delay(pid: int, delay: float) -> None: function test_keyboard_interrupt (line 163) | def test_keyboard_interrupt(): function test_pow_memory_limit (line 191) | def test_pow_memory_limit(): function test_lshift_memory_limit (line 200) | def test_lshift_memory_limit(): function test_mult_memory_limit (line 209) | def test_mult_memory_limit(): function test_small_operations_within_limit (line 223) | def test_small_operations_within_limit(): function test_timeout_enforced_in_builtin_loops (line 242) | def test_timeout_enforced_in_builtin_loops(code: str): FILE: crates/monty-python/tests/test_os_access.py function test_non_absolute_path (line 26) | def test_non_absolute_path(): function test_file_nested_within_file_rejected (line 35) | def test_file_nested_within_file_rejected(): function test_empty_initialization (line 50) | def test_empty_initialization(): function test_environ_parameter (line 57) | def test_environ_parameter(): function test_path_exists_file (line 69) | def test_path_exists_file(): function test_path_exists_directory (line 76) | def test_path_exists_directory(): function test_path_exists_nested (line 83) | def test_path_exists_nested(): function test_path_exists_missing (line 94) | def test_path_exists_missing(): function test_path_is_file_for_file (line 101) | def test_path_is_file_for_file(): function test_path_is_file_for_directory (line 108) | def test_path_is_file_for_directory(): function test_path_is_file_missing (line 115) | def test_path_is_file_missing(): function test_path_is_dir_for_directory (line 122) | def test_path_is_dir_for_directory(): function test_path_is_dir_for_file (line 129) | def test_path_is_dir_for_file(): function test_path_is_dir_missing (line 136) | def test_path_is_dir_missing(): function test_path_is_symlink_always_false (line 143) | def test_path_is_symlink_always_false(): function test_read_text_string_content (line 159) | def test_read_text_string_content(): function test_read_text_bytes_content_decoded (line 166) | def test_read_text_bytes_content_decoded(): function test_read_bytes_bytes_content (line 173) | def test_read_bytes_bytes_content(): function test_read_bytes_string_content_encoded (line 180) | def test_read_bytes_string_content_encoded(): function test_read_text_file_not_found (line 187) | def test_read_text_file_not_found(): function test_read_bytes_file_not_found (line 195) | def test_read_bytes_file_not_found(): function test_read_text_is_a_directory (line 203) | def test_read_text_is_a_directory(): function test_read_bytes_is_a_directory (line 212) | def test_read_bytes_is_a_directory(): function test_write_text_via_monty (line 226) | def test_write_text_via_monty(): function test_write_text_overwrite_via_monty (line 243) | def test_write_text_overwrite_via_monty(): function test_write_bytes_via_monty (line 255) | def test_write_bytes_via_monty(): function test_write_text_parent_not_exists_via_monty (line 268) | def test_write_text_parent_not_exists_via_monty(): function test_write_text_to_directory_via_monty (line 278) | def test_write_text_to_directory_via_monty(): function test_write_text_new_file_direct (line 291) | def test_write_text_new_file_direct(): function test_write_text_overwrite_existing_direct (line 303) | def test_write_text_overwrite_existing_direct(): function test_write_bytes_new_file_direct (line 311) | def test_write_bytes_new_file_direct(): function test_write_bytes_overwrite_existing_direct (line 319) | def test_write_bytes_overwrite_existing_direct(): function test_write_text_parent_not_exists_direct (line 327) | def test_write_text_parent_not_exists_direct(): function test_write_text_to_directory_direct (line 335) | def test_write_text_to_directory_direct(): function test_mkdir_basic_via_monty (line 348) | def test_mkdir_basic_via_monty(): function test_mkdir_with_parents_via_monty (line 360) | def test_mkdir_with_parents_via_monty(): function test_mkdir_exist_ok_true_via_monty (line 375) | def test_mkdir_exist_ok_true_via_monty(): function test_mkdir_exist_ok_false_via_monty (line 388) | def test_mkdir_exist_ok_false_via_monty(): function test_mkdir_parent_not_exists_via_monty (line 398) | def test_mkdir_parent_not_exists_via_monty(): function test_mkdir_basic_direct (line 412) | def test_mkdir_basic_direct(): function test_mkdir_with_parents_direct (line 420) | def test_mkdir_with_parents_direct(): function test_mkdir_exist_ok_true_direct (line 431) | def test_mkdir_exist_ok_true_direct(): function test_mkdir_exist_ok_false_direct (line 440) | def test_mkdir_exist_ok_false_direct(): function test_mkdir_file_exists_direct (line 449) | def test_mkdir_file_exists_direct(): function test_mkdir_parent_not_exists_direct (line 458) | def test_mkdir_parent_not_exists_direct(): function test_mkdir_parent_is_file_direct (line 467) | def test_mkdir_parent_is_file_direct(): function test_rmdir_empty_directory_via_monty (line 481) | def test_rmdir_empty_directory_via_monty(): function test_rmdir_non_empty_directory_via_monty (line 494) | def test_rmdir_non_empty_directory_via_monty(): function test_rmdir_not_found_via_monty (line 503) | def test_rmdir_not_found_via_monty(): function test_rmdir_file_not_directory_via_monty (line 512) | def test_rmdir_file_not_directory_via_monty(): function test_rmdir_empty_directory_direct (line 526) | def test_rmdir_empty_directory_direct(): function test_rmdir_non_empty_directory_direct (line 535) | def test_rmdir_non_empty_directory_direct(): function test_rmdir_file_not_directory_direct (line 544) | def test_rmdir_file_not_directory_direct(): function test_rmdir_not_found_direct (line 553) | def test_rmdir_not_found_direct(): function test_iterdir_list_contents (line 567) | def test_iterdir_list_contents(): function test_iterdir_empty_directory_direct (line 585) | def test_iterdir_empty_directory_direct(): function test_iterdir_not_a_directory_direct (line 594) | def test_iterdir_not_a_directory_direct(): function test_iterdir_not_found (line 603) | def test_iterdir_not_found(): function test_unlink_file_via_monty (line 616) | def test_unlink_file_via_monty(): function test_unlink_file_not_found_via_monty (line 628) | def test_unlink_file_not_found_via_monty(): function test_unlink_is_directory_via_monty (line 637) | def test_unlink_is_directory_via_monty(): function test_unlink_file_direct (line 651) | def test_unlink_file_direct(): function test_unlink_file_not_found_direct (line 659) | def test_unlink_file_not_found_direct(): function test_unlink_is_directory_direct (line 668) | def test_unlink_is_directory_direct(): function test_stat_file (line 682) | def test_stat_file(): function test_stat_file_custom_permissions (line 694) | def test_stat_file_custom_permissions(): function test_stat_directory (line 706) | def test_stat_directory(): function test_stat_file_not_found (line 719) | def test_stat_file_not_found(): function test_stat_bytes_content_size (line 727) | def test_stat_bytes_content_size(): function test_stat_unicode_size (line 738) | def test_stat_unicode_size(): function test_rename_file_via_monty (line 755) | def test_rename_file_via_monty(): function test_rename_source_not_found_via_monty (line 770) | def test_rename_source_not_found_via_monty(): function test_rename_target_parent_not_found_via_monty (line 781) | def test_rename_target_parent_not_found_via_monty(): function test_rename_file_direct (line 797) | def test_rename_file_direct(): function test_rename_source_not_found_direct (line 808) | def test_rename_source_not_found_direct(): function test_rename_target_parent_not_found_direct (line 817) | def test_rename_target_parent_not_found_direct(): function test_rename_directory_direct (line 828) | def test_rename_directory_direct(): function test_rename_directory_non_empty_target_direct (line 837) | def test_rename_directory_non_empty_target_direct(): function test_rename_directory_updates_file_paths_direct (line 851) | def test_rename_directory_updates_file_paths_direct(): function test_path_resolve_absolute (line 879) | def test_path_resolve_absolute(): function test_path_absolute_already_absolute (line 890) | def test_path_absolute_already_absolute(): function test_path_absolute_relative (line 901) | def test_path_absolute_relative(): function test_path_resolve_same_as_absolute (line 912) | def test_path_resolve_same_as_absolute(): function test_getenv_existing_key (line 928) | def test_getenv_existing_key(): function test_getenv_missing_key (line 935) | def test_getenv_missing_key(): function test_getenv_missing_with_default (line 942) | def test_getenv_missing_with_default(): function test_getenv_multiple_vars (line 949) | def test_getenv_multiple_vars(): function test_get_environ_returns_dict (line 960) | def test_get_environ_returns_dict(): function test_get_environ_key_access (line 967) | def test_get_environ_key_access(): function test_get_environ_key_missing_raises (line 974) | def test_get_environ_key_missing_raises(): function test_get_environ_get_method (line 982) | def test_get_environ_get_method(): function test_get_environ_get_missing_with_default (line 989) | def test_get_environ_get_missing_with_default(): function test_get_environ_len (line 996) | def test_get_environ_len(): function test_get_environ_contains (line 1003) | def test_get_environ_contains(): function test_get_environ_keys (line 1014) | def test_get_environ_keys(): function test_get_environ_values (line 1021) | def test_get_environ_values(): function test_get_environ_items (line 1028) | def test_get_environ_items(): function test_get_environ_empty (line 1035) | def test_get_environ_empty(): function test_memory_file_string_content (line 1047) | def test_memory_file_string_content(): function test_memory_file_bytes_content (line 1055) | def test_memory_file_bytes_content(): function test_memory_file_custom_permissions (line 1061) | def test_memory_file_custom_permissions(): function test_memory_file_write_and_read (line 1067) | def test_memory_file_write_and_read(): function test_memory_file_delete (line 1074) | def test_memory_file_delete(): function test_memory_file_repr (line 1082) | def test_memory_file_repr(): function test_memory_file_bytes_repr (line 1088) | def test_memory_file_bytes_repr(): function test_callback_file_read (line 1099) | def test_callback_file_read(): function test_callback_file_write_direct (line 1118) | def test_callback_file_write_direct(): function test_callback_file_custom_permissions (line 1137) | def test_callback_file_custom_permissions(): function test_callback_file_repr (line 1148) | def test_callback_file_repr(): class CustomFile (line 1159) | class CustomFile: method __init__ (line 1162) | def __init__(self, path: str, content: str) -> None: method read_content (line 1169) | def read_content(self) -> str: method write_content (line 1172) | def write_content(self, content: str | bytes) -> None: method delete (line 1175) | def delete(self) -> None: function test_custom_abstract_file (line 1179) | def test_custom_abstract_file(): function test_custom_abstract_file_mixed_with_memory_file (line 1188) | def test_custom_abstract_file_mixed_with_memory_file(): function test_os_access_direct_api (line 1207) | def test_os_access_direct_api(): function test_root_directory (line 1248) | def test_root_directory(): function test_empty_file (line 1259) | def test_empty_file(): function test_large_nested_path (line 1270) | def test_large_nested_path(): function test_special_characters_in_content (line 1281) | def test_special_characters_in_content(): FILE: crates/monty-python/tests/test_os_access_compat.py class CodeRunner (line 25) | class CodeRunner(ABC): method write_file (line 33) | def write_file(self, path: str, content: str | bytes) -> None: method run_code (line 42) | def run_code(self, code: str) -> Any: method tree (line 59) | def tree(self) -> TreeDict: method set_environ (line 69) | def set_environ(self, environ: dict[str, str]) -> None: class MontyRunner (line 77) | class MontyRunner(CodeRunner): method __init__ (line 80) | def __init__(self) -> None: method write_file (line 85) | def write_file(self, path: str, content: str | bytes) -> None: method set_environ (line 91) | def set_environ(self, environ: dict[str, str]) -> None: method _get_os_access (line 96) | def _get_os_access(self) -> OSAccess: method run_code (line 101) | def run_code(self, code: str) -> Any: method tree (line 107) | def tree(self) -> TreeDict: class CPythonRunner (line 131) | class CPythonRunner(CodeRunner): method __init__ (line 134) | def __init__(self, tmp_path: Path) -> None: method write_file (line 138) | def write_file(self, path: str, content: str | bytes) -> None: method set_environ (line 146) | def set_environ(self, environ: dict[str, str]) -> None: method run_code (line 149) | def run_code(self, code: str) -> Any: method tree (line 186) | def tree(self) -> TreeDict: function runner (line 207) | def runner(request: pytest.FixtureRequest, tmp_path: Path) -> CodeRunner: function test_path_exists_file (line 220) | def test_path_exists_file(runner: CodeRunner) -> None: function test_path_exists_directory (line 227) | def test_path_exists_directory(runner: CodeRunner) -> None: function test_path_exists_missing (line 234) | def test_path_exists_missing(runner: CodeRunner) -> None: function test_path_is_file (line 240) | def test_path_is_file(runner: CodeRunner) -> None: function test_path_is_dir (line 247) | def test_path_is_dir(runner: CodeRunner) -> None: function test_read_text (line 259) | def test_read_text(runner: CodeRunner) -> None: function test_read_bytes (line 266) | def test_read_bytes(runner: CodeRunner) -> None: function test_read_text_unicode (line 273) | def test_read_text_unicode(runner: CodeRunner) -> None: function test_tree_simple (line 285) | def test_tree_simple(runner: CodeRunner) -> None: function test_tree_nested (line 292) | def test_tree_nested(runner: CodeRunner) -> None: function test_tree_mixed (line 298) | def test_tree_mixed(runner: CodeRunner) -> None: function test_stat_size (line 311) | def test_stat_size(runner: CodeRunner) -> None: function test_stat_size_unicode (line 318) | def test_stat_size_unicode(runner: CodeRunner) -> None: function test_iterdir (line 331) | def test_iterdir(runner: CodeRunner) -> None: function test_read_text_file_not_found (line 357) | def test_read_text_file_not_found(runner: CodeRunner) -> None: function test_read_bytes_file_not_found (line 370) | def test_read_bytes_file_not_found(runner: CodeRunner) -> None: function test_stat_file_not_found (line 383) | def test_stat_file_not_found(runner: CodeRunner) -> None: function test_iterdir_not_found (line 396) | def test_iterdir_not_found(runner: CodeRunner) -> None: function test_read_text_is_directory (line 414) | def test_read_text_is_directory(runner: CodeRunner) -> None: function test_read_bytes_is_directory (line 428) | def test_read_bytes_is_directory(runner: CodeRunner) -> None: function test_iterdir_not_a_directory (line 447) | def test_iterdir_not_a_directory(runner: CodeRunner) -> None: function test_mkdir_file_exists (line 466) | def test_mkdir_file_exists(runner: CodeRunner) -> None: function test_mkdir_file_at_path (line 480) | def test_mkdir_file_at_path(runner: CodeRunner) -> None: function test_mkdir_exist_ok_no_error (line 494) | def test_mkdir_exist_ok_no_error(runner: CodeRunner) -> None: function test_mkdir_parent_not_found (line 509) | def test_mkdir_parent_not_found(runner: CodeRunner) -> None: function test_mkdir_parents_creates_all (line 522) | def test_mkdir_parents_creates_all(runner: CodeRunner) -> None: function test_unlink_file_not_found (line 536) | def test_unlink_file_not_found(runner: CodeRunner) -> None: function test_unlink_is_directory (line 549) | def test_unlink_is_directory(runner: CodeRunner) -> None: function test_rmdir_not_found (line 574) | def test_rmdir_not_found(runner: CodeRunner) -> None: function test_rmdir_not_a_directory (line 587) | def test_rmdir_not_a_directory(runner: CodeRunner) -> None: function test_rmdir_not_empty (line 601) | def test_rmdir_not_empty(runner: CodeRunner) -> None: function test_rename_source_not_found (line 620) | def test_rename_source_not_found(runner: CodeRunner) -> None: function test_write_text_new_file (line 638) | def test_write_text_new_file(runner: CodeRunner) -> None: function test_write_text_overwrite (line 647) | def test_write_text_overwrite(runner: CodeRunner) -> None: function test_write_bytes_new_file (line 657) | def test_write_bytes_new_file(runner: CodeRunner) -> None: function test_write_text_parent_not_found (line 666) | def test_write_text_parent_not_found(runner: CodeRunner) -> None: function test_write_text_to_directory (line 679) | def test_write_text_to_directory(runner: CodeRunner) -> None: function test_environ_key_access (line 698) | def test_environ_key_access(runner: CodeRunner) -> None: function test_environ_get_method (line 705) | def test_environ_get_method(runner: CodeRunner) -> None: function test_environ_get_missing_with_default (line 712) | def test_environ_get_missing_with_default(runner: CodeRunner) -> None: function test_environ_missing_key_raises_keyerror (line 719) | def test_environ_missing_key_raises_keyerror(runner: CodeRunner) -> None: FILE: crates/monty-python/tests/test_os_access_raw.py class TestOS (line 16) | class TestOS(AbstractOS): method __init__ (line 21) | def __init__(self) -> None: method _ensure_parent_exists (line 25) | def _ensure_parent_exists(self, path: str) -> None: method path_exists (line 32) | def path_exists(self, path: PurePosixPath) -> bool: method path_is_file (line 36) | def path_is_file(self, path: PurePosixPath) -> bool: method path_is_dir (line 39) | def path_is_dir(self, path: PurePosixPath) -> bool: method path_is_symlink (line 42) | def path_is_symlink(self, path: PurePosixPath) -> bool: method path_read_text (line 45) | def path_read_text(self, path: PurePosixPath) -> str: method path_read_bytes (line 51) | def path_read_bytes(self, path: PurePosixPath) -> bytes: method path_write_text (line 57) | def path_write_text(self, path: PurePosixPath, data: str) -> int: method path_write_bytes (line 63) | def path_write_bytes(self, path: PurePosixPath, data: bytes) -> int: method path_mkdir (line 69) | def path_mkdir(self, path: PurePosixPath, parents: bool, exist_ok: boo... method path_unlink (line 79) | def path_unlink(self, path: PurePosixPath) -> None: method path_rmdir (line 85) | def path_rmdir(self, path: PurePosixPath) -> None: method path_iterdir (line 98) | def path_iterdir(self, path: PurePosixPath) -> list[PurePosixPath]: method path_stat (line 122) | def path_stat(self, path: PurePosixPath) -> StatResult: method path_rename (line 131) | def path_rename(self, path: PurePosixPath, target: PurePosixPath) -> N... method path_resolve (line 149) | def path_resolve(self, path: PurePosixPath) -> str: method path_absolute (line 161) | def path_absolute(self, path: PurePosixPath) -> str: method getenv (line 167) | def getenv(self, key: str, default: str | None = None) -> str | None: method get_environ (line 175) | def get_environ(self) -> dict[str, str]: function test_abstract_filesystem_exists (line 187) | def test_abstract_filesystem_exists(): function test_abstract_filesystem_exists_missing (line 198) | def test_abstract_filesystem_exists_missing(): function test_abstract_filesystem_is_file (line 208) | def test_abstract_filesystem_is_file(): function test_abstract_filesystem_is_dir (line 224) | def test_abstract_filesystem_is_dir(): function test_abstract_filesystem_read_text (line 240) | def test_abstract_filesystem_read_text(): function test_abstract_filesystem_read_text_missing (line 251) | def test_abstract_filesystem_read_text_missing(): function test_abstract_filesystem_read_bytes (line 262) | def test_abstract_filesystem_read_bytes(): function test_abstract_filesystem_stat_file (line 278) | def test_abstract_filesystem_stat_file(): function test_abstract_filesystem_stat_directory (line 294) | def test_abstract_filesystem_stat_directory(): function test_abstract_filesystem_stat_missing (line 310) | def test_abstract_filesystem_stat_missing(): function test_abstract_filesystem_iterdir (line 333) | def test_abstract_filesystem_iterdir(): function test_abstract_filesystem_iterdir_empty (line 354) | def test_abstract_filesystem_iterdir_empty(): function test_abstract_filesystem_resolve (line 374) | def test_abstract_filesystem_resolve(): function test_abstract_filesystem_absolute (line 388) | def test_abstract_filesystem_absolute(): function test_abstract_filesystem_getenv (line 402) | def test_abstract_filesystem_getenv(): function test_abstract_filesystem_getenv_missing (line 416) | def test_abstract_filesystem_getenv_missing(): function test_abstract_filesystem_getenv_default (line 430) | def test_abstract_filesystem_getenv_default(): function test_file_stat_helper (line 449) | def test_file_stat_helper(): function test_dir_stat_helper (line 461) | def test_dir_stat_helper(): function test_path_monty_to_py (line 472) | def test_path_monty_to_py(): function test_path_py_to_monty (line 479) | def test_path_py_to_monty(): FILE: crates/monty-python/tests/test_os_calls.py function test_path_exists_yields_oscall (line 22) | def test_path_exists_yields_oscall(): function test_path_stat_yields_oscall (line 34) | def test_path_stat_yields_oscall(): function test_path_read_text_yields_oscall (line 45) | def test_path_read_text_yields_oscall(): function test_path_concatenation (line 61) | def test_path_concatenation(): function test_exists_resume (line 81) | def test_exists_resume(): function test_read_text_resume (line 93) | def test_read_text_resume(): function test_stat_resume_and_use_in_monty (line 115) | def test_stat_resume_and_use_in_monty(): function test_stat_result_returned_from_monty (line 136) | def test_stat_result_returned_from_monty(): function test_stat_result (line 161) | def test_stat_result(): function test_multiple_path_calls (line 187) | def test_multiple_path_calls(): function test_conditional_path_calls (line 214) | def test_conditional_path_calls(): function test_os_call_vs_external_function (line 248) | def test_os_call_vs_external_function(): function test_os_basic (line 268) | def test_os_basic(): function test_os_stat (line 283) | def test_os_stat(): function test_os_multiple_calls (line 302) | def test_os_multiple_calls(): function test_os_not_provided_error (line 334) | def test_os_not_provided_error(): function test_os_not_provided_error_ext_func (line 348) | def test_os_not_provided_error_ext_func(): function test_not_callable (line 360) | def test_not_callable(): function test_os_getenv_yields_oscall (line 373) | def test_os_getenv_yields_oscall(): function test_os_getenv_with_default_yields_oscall (line 384) | def test_os_getenv_with_default_yields_oscall(): function test_os_getenv_callback (line 395) | def test_os_getenv_callback(): function test_os_getenv_callback_missing (line 410) | def test_os_getenv_callback_missing(): function test_os_getenv_callback_with_default (line 425) | def test_os_getenv_callback_with_default(): function test_os_environ_yields_oscall (line 445) | def test_os_environ_yields_oscall(): function test_os_environ_key_access (line 456) | def test_os_environ_key_access(): function test_os_environ_key_missing_raises (line 469) | def test_os_environ_key_missing_raises(): function test_os_environ_get_method (line 483) | def test_os_environ_get_method(): function test_os_environ_get_with_default (line 496) | def test_os_environ_get_with_default(): function test_os_environ_len (line 509) | def test_os_environ_len(): function test_os_environ_contains (line 522) | def test_os_environ_contains(): function test_os_environ_keys (line 535) | def test_os_environ_keys(): function test_os_environ_values (line 548) | def test_os_environ_values(): function test_path_write_text_yields_oscall (line 566) | def test_path_write_text_yields_oscall(): function test_path_write_text_resume (line 577) | def test_path_write_text_resume(): function test_path_write_text_callback (line 589) | def test_path_write_text_callback(): function test_path_write_bytes_yields_oscall (line 612) | def test_path_write_bytes_yields_oscall(): function test_path_write_bytes_resume (line 623) | def test_path_write_bytes_resume(): function test_path_mkdir_yields_oscall (line 640) | def test_path_mkdir_yields_oscall(): function test_path_mkdir_with_parents_yields_oscall (line 651) | def test_path_mkdir_with_parents_yields_oscall(): function test_path_mkdir_with_exist_ok_yields_oscall (line 663) | def test_path_mkdir_with_exist_ok_yields_oscall(): function test_path_mkdir_with_both_kwargs (line 674) | def test_path_mkdir_with_both_kwargs(): function test_path_mkdir_resume (line 683) | def test_path_mkdir_resume(): function test_path_unlink_yields_oscall (line 700) | def test_path_unlink_yields_oscall(): function test_path_unlink_resume (line 711) | def test_path_unlink_resume(): function test_path_rmdir_yields_oscall (line 728) | def test_path_rmdir_yields_oscall(): function test_path_rmdir_resume (line 739) | def test_path_rmdir_resume(): function test_path_rename_yields_oscall (line 756) | def test_path_rename_yields_oscall(): function test_path_rename_resume (line 767) | def test_path_rename_resume(): function test_write_operations_callback (line 785) | def test_write_operations_callback(): FILE: crates/monty-python/tests/test_print.py function make_print_collector (line 11) | def make_print_collector() -> tuple[list[str], PrintCallback]: function test_print_basic (line 22) | def test_print_basic() -> None: function test_print_multiple (line 29) | def test_print_multiple() -> None: function test_print_with_values (line 40) | def test_print_with_values() -> None: function test_print_with_sep (line 47) | def test_print_with_sep() -> None: function test_print_with_end (line 54) | def test_print_with_end() -> None: function test_print_returns_none (line 61) | def test_print_returns_none() -> None: function test_print_empty (line 68) | def test_print_empty() -> None: function test_print_with_limits (line 75) | def test_print_with_limits() -> None: function test_print_with_inputs (line 84) | def test_print_with_inputs() -> None: function test_print_in_loop (line 92) | def test_print_in_loop() -> None: function test_print_mixed_types (line 103) | def test_print_mixed_types() -> None: function make_error_callback (line 110) | def make_error_callback(error: Exception) -> PrintCallback: function test_print_callback_raises_value_error (line 119) | def test_print_callback_raises_value_error() -> None: function test_print_callback_raises_type_error (line 130) | def test_print_callback_raises_type_error() -> None: function test_print_callback_raises_in_function (line 141) | def test_print_callback_raises_in_function() -> None: function test_print_callback_raises_in_nested_function (line 158) | def test_print_callback_raises_in_nested_function() -> None: function test_print_callback_raises_in_loop (line 177) | def test_print_callback_raises_in_loop() -> None: function test_map_print (line 200) | def test_map_print() -> None: FILE: crates/monty-python/tests/test_re.py function test_re_module (line 10) | def test_re_module(): function test_re_compile (line 16) | def test_re_compile(): function test_re_constant (line 41) | def test_re_constant(flags: list[str], target: int): function test_re_compile_repr (line 48) | def test_re_compile_repr(): function test_re_match_repr (line 59) | def test_re_match_repr(): function test_re_match_groups (line 70) | def test_re_match_groups(): function test_re_substitution (line 82) | def test_re_substitution(): function test_re_error_handling (line 94) | def test_re_error_handling(): function test_re_resume (line 109) | def test_re_resume(): function test_re_persistence (line 132) | def test_re_persistence(): function test_re_error_upcast (line 154) | def test_re_error_upcast(): FILE: crates/monty-python/tests/test_readme_examples.py function test_readme_examples (line 11) | def test_readme_examples(example: CodeExample, eval_example: EvalExample): FILE: crates/monty-python/tests/test_repl.py function make_print_collector (line 11) | def make_print_collector() -> tuple[list[str], PrintCallback]: function test_default_construction (line 25) | def test_default_construction(): function test_custom_script_name (line 30) | def test_custom_script_name(): function test_repr (line 35) | def test_repr(): function test_feed_run_expression_returns_value (line 43) | def test_feed_run_expression_returns_value(): function test_feed_run_assignment_returns_none (line 48) | def test_feed_run_assignment_returns_none(): function test_feed_run_empty_string_returns_none (line 53) | def test_feed_run_empty_string_returns_none(): function test_feed_run_none_literal (line 58) | def test_feed_run_none_literal(): function test_variable_persists_across_feeds (line 66) | def test_variable_persists_across_feeds(): function test_incremental_mutation (line 72) | def test_incremental_mutation(): function test_multiple_variables (line 80) | def test_multiple_variables(): function test_function_defined_then_called (line 87) | def test_function_defined_then_called(): function test_function_uses_previously_defined_variable (line 93) | def test_function_uses_previously_defined_variable(): function test_list_mutation_persists (line 100) | def test_list_mutation_persists(): function test_dict_mutation_persists (line 108) | def test_dict_mutation_persists(): function test_variable_reassignment (line 116) | def test_variable_reassignment(): function test_multi_statement_snippet (line 127) | def test_multi_statement_snippet(): function test_loop_in_snippet (line 133) | def test_loop_in_snippet(): function test_if_else_in_snippet (line 139) | def test_if_else_in_snippet(): function test_feed_run_return_types (line 163) | def test_feed_run_return_types(code: str, expected: object): function test_syntax_error (line 171) | def test_syntax_error(): function test_runtime_error_preserves_state (line 177) | def test_runtime_error_preserves_state(): function test_name_error (line 187) | def test_name_error(): function test_type_error (line 195) | def test_type_error(): function test_zero_division_error (line 203) | def test_zero_division_error(): function test_index_error (line 211) | def test_index_error(): function test_key_error (line 219) | def test_key_error(): function test_multiple_errors_dont_corrupt_state (line 227) | def test_multiple_errors_dont_corrupt_state(): function test_print_callback_on_feed (line 241) | def test_print_callback_on_feed(): function test_print_callback_across_feeds (line 248) | def test_print_callback_across_feeds(): function test_construction_with_limits (line 259) | def test_construction_with_limits(): function test_infinite_loop_with_limits (line 265) | def test_infinite_loop_with_limits(): function test_dump_load_roundtrip (line 275) | def test_dump_load_roundtrip(): function test_dump_load_preserves_functions (line 287) | def test_dump_load_preserves_functions(): function test_dump_load_preserves_script_name (line 295) | def test_dump_load_preserves_script_name(): function test_load_with_print_callback (line 301) | def test_load_with_print_callback(): function test_load_invalid_data (line 311) | def test_load_invalid_data(): function test_external_function_basic (line 319) | def test_external_function_basic(): function test_external_function_return_value (line 328) | def test_external_function_return_value(): function test_external_function_called_multiple_times (line 336) | def test_external_function_called_multiple_times(): function test_external_function_persists_state_across_feeds (line 351) | def test_external_function_persists_state_across_feeds(): function test_external_function_exception_becomes_runtime_error (line 360) | def test_external_function_exception_becomes_runtime_error(): function test_external_function_error_preserves_repl_state (line 373) | def test_external_function_error_preserves_repl_state(): function test_external_function_undefined_raises_name_error (line 386) | def test_external_function_undefined_raises_name_error(): function test_external_function_with_print_callback (line 396) | def test_external_function_with_print_callback(): function test_external_function_with_kwargs (line 404) | def test_external_function_with_kwargs(): function test_feed_run_no_externals_with_os_preserves_repl_state (line 413) | def test_feed_run_no_externals_with_os_preserves_repl_state(): function test_inputs_basic (line 436) | def test_inputs_basic(): function test_inputs_used_in_same_snippet (line 441) | def test_inputs_used_in_same_snippet(): function test_inputs_multiple_values (line 447) | def test_inputs_multiple_values(): function test_inputs_override_existing_variable (line 452) | def test_inputs_override_existing_variable(): function test_inputs_with_external_functions (line 458) | def test_inputs_with_external_functions(): function test_feed_start_no_external_calls (line 469) | def test_feed_start_no_external_calls(): function test_feed_start_state_persists (line 479) | def test_feed_start_state_persists(): function test_feed_start_external_function (line 488) | def test_feed_start_external_function(): function test_feed_start_external_function_preserves_state (line 502) | def test_feed_start_external_function_preserves_state(): function test_feed_start_multiple_external_calls (line 512) | def test_feed_start_multiple_external_calls(): function test_feed_start_error_preserves_repl_state (line 527) | def test_feed_start_error_preserves_repl_state(): function test_feed_start_resume_error_preserves_repl_state (line 537) | def test_feed_start_resume_error_preserves_repl_state(): function test_feed_start_with_inputs (line 549) | def test_feed_start_with_inputs(): function test_feed_start_with_print_callback (line 561) | def test_feed_start_with_print_callback(): function test_feed_start_name_lookup (line 574) | def test_feed_start_name_lookup(): function test_feed_start_dump_load_repl_snapshot (line 585) | def test_feed_start_dump_load_repl_snapshot(): function test_feed_start_dump_load_repl_snapshot_preserves_state (line 607) | def test_feed_start_dump_load_repl_snapshot_preserves_state(): function test_feed_start_dump_load_repl_snapshot_name_lookup (line 629) | def test_feed_start_dump_load_repl_snapshot_name_lookup(): function test_feed_start_dump_load_repl_snapshot_multiple_calls (line 646) | def test_feed_start_dump_load_repl_snapshot_multiple_calls(): function test_feed_start_dump_load_snapshot_errors_on_repl (line 673) | def test_feed_start_dump_load_snapshot_errors_on_repl(): function test_feed_start_dump_load_repl_snapshot_with_print_callback (line 685) | def test_feed_start_dump_load_repl_snapshot_with_print_callback(): function test_feed_start_dump_load_repl_snapshot_preserves_script_name (line 702) | def test_feed_start_dump_load_repl_snapshot_preserves_script_name(): function test_non_repl_dump_load_with_load_snapshot (line 714) | def test_non_repl_dump_load_with_load_snapshot(): function test_feed_start_dump_after_resume_fails (line 731) | def test_feed_start_dump_after_resume_fails(): function test_inputs_various_types (line 743) | def test_inputs_various_types(): FILE: crates/monty-python/tests/test_serialize.py function test_monty_dump_load_roundtrip (line 10) | def test_monty_dump_load_roundtrip(): function test_monty_dump_load_preserves_script_name (line 21) | def test_monty_dump_load_preserves_script_name(): function test_monty_dump_load_preserves_inputs (line 29) | def test_monty_dump_load_preserves_inputs(): function test_monty_dump_load_preserves_external_functions (line 37) | def test_monty_dump_load_preserves_external_functions(): function test_monty_load_invalid_data (line 46) | def test_monty_load_invalid_data(): function test_progress_dump_load_roundtrip (line 52) | def test_progress_dump_load_roundtrip(): function test_progress_dump_load_preserves_script_name (line 72) | def test_progress_dump_load_preserves_script_name(): function test_progress_dump_load_with_kwargs (line 83) | def test_progress_dump_load_with_kwargs(): function test_progress_dump_after_resume_fails (line 96) | def test_progress_dump_after_resume_fails(): function test_progress_load_invalid_data (line 108) | def test_progress_load_invalid_data(): function test_progress_dump_load_multiple_calls (line 113) | def test_progress_dump_load_multiple_calls(): function test_progress_load_with_print_callback (line 142) | def test_progress_load_with_print_callback(): function test_progress_load_without_print_callback (line 164) | def test_progress_load_without_print_callback(): function test_monty_dump_load_various_outputs (line 189) | def test_monty_dump_load_various_outputs(code: str, expected: Any): function test_progress_dump_load_with_limits (line 196) | def test_progress_dump_load_with_limits(): class Person (line 212) | class Person: function test_monty_load_dataclass (line 217) | def test_monty_load_dataclass(): function test_progress_dump_load_dataclass (line 227) | def test_progress_dump_load_dataclass(): function test_progress_dump_load_unknown_dataclass (line 249) | def test_progress_dump_load_unknown_dataclass(): FILE: crates/monty-python/tests/test_start.py function test_start_no_external_functions_returns_complete (line 9) | def test_start_no_external_functions_returns_complete(): function test_start_with_external_function_returns_progress (line 16) | def test_start_with_external_function_returns_progress(): function test_start_custom_script_name (line 26) | def test_start_custom_script_name(): function test_start_progress_resume_returns_complete (line 33) | def test_start_progress_resume_returns_complete(): function test_start_progress_with_args (line 46) | def test_start_progress_with_args(): function test_start_progress_with_kwargs (line 55) | def test_start_progress_with_kwargs(): function test_start_progress_with_mixed_args_kwargs (line 64) | def test_start_progress_with_mixed_args_kwargs(): function test_start_multiple_external_calls (line 73) | def test_start_multiple_external_calls(): function test_start_chain_of_external_calls (line 92) | def test_start_chain_of_external_calls(): function test_start_with_inputs (line 109) | def test_start_with_inputs(): function test_start_with_limits (line 117) | def test_start_with_limits(): function test_start_with_print_callback (line 125) | def test_start_with_print_callback(): function test_start_resume_cannot_be_called_twice (line 137) | def test_start_resume_cannot_be_called_twice(): function test_start_complex_return_value (line 151) | def test_start_complex_return_value(): function test_start_resume_with_none (line 161) | def test_start_resume_with_none(): function test_progress_repr (line 171) | def test_progress_repr(): function test_complete_repr (line 180) | def test_complete_repr(): function test_start_can_reuse_monty_instance (line 187) | def test_start_can_reuse_monty_instance(): function test_start_returns_complete_for_various_types (line 218) | def test_start_returns_complete_for_various_types(code: str, expected: A... function test_start_progress_resume_with_exception_caught (line 225) | def test_start_progress_resume_with_exception_caught(): function test_start_progress_resume_exception_propagates_uncaught (line 244) | def test_start_progress_resume_exception_propagates_uncaught(): function test_resume_none (line 259) | def test_resume_none(): function test_invalid_resume_args (line 269) | def test_invalid_resume_args(): function test_start_progress_resume_exception_in_nested_try (line 292) | def test_start_progress_resume_exception_in_nested_try(): function test_name_lookup (line 317) | def test_name_lookup(): function test_ext_function_alt_name (line 326) | def test_ext_function_alt_name(): FILE: crates/monty-python/tests/test_threading.py function test_parallel_exec (line 18) | def test_parallel_exec(): function test_parallel_exec_print (line 44) | def test_parallel_exec_print(): function double (line 76) | def double(a: int) -> int: function test_parallel_exec_ext_functions (line 80) | def test_parallel_exec_ext_functions(): function test_parallel_exec_start (line 109) | def test_parallel_exec_start(): function test_parallel_exec_start_resume (line 135) | def test_parallel_exec_start_resume(): FILE: crates/monty-python/tests/test_type_check.py function test_type_check_no_errors (line 7) | def test_type_check_no_errors(): function test_type_check_with_errors (line 13) | def test_type_check_with_errors(): function test_type_check_function_return_type (line 33) | def test_type_check_function_return_type(): function test_type_check_undefined_variable (line 56) | def test_type_check_undefined_variable(): function test_type_check_valid_function (line 73) | def test_type_check_valid_function(): function test_type_check_with_prefix_code (line 85) | def test_type_check_with_prefix_code(): function test_type_check_display_invalid_format (line 95) | def test_type_check_display_invalid_format(): function test_type_check_display_concise_format (line 105) | def test_type_check_display_concise_format(): function test_monty_typing_error_is_monty_error_subclass (line 118) | def test_monty_typing_error_is_monty_error_subclass(): function test_monty_typing_error_repr (line 128) | def test_monty_typing_error_repr(): function test_monty_typing_error_caught_as_monty_error (line 150) | def test_monty_typing_error_caught_as_monty_error(): function test_monty_typing_error_display_default (line 157) | def test_monty_typing_error_display_default(): function test_constructor_type_check_default_false (line 169) | def test_constructor_type_check_default_false(): function test_constructor_type_check_explicit_true (line 178) | def test_constructor_type_check_explicit_true(): function test_constructor_type_check_explicit_false (line 197) | def test_constructor_type_check_explicit_false(): function test_constructor_default_allows_run_with_inputs (line 206) | def test_constructor_default_allows_run_with_inputs(): function test_constructor_type_check_stubs (line 215) | def test_constructor_type_check_stubs(): function test_constructor_type_check_stubs_with_external_function (line 224) | def test_constructor_type_check_stubs_with_external_function(): function test_constructor_type_check_stubs_invalid (line 239) | def test_constructor_type_check_stubs_invalid(): function test_inject_stubs_offset (line 264) | def test_inject_stubs_offset(): FILE: crates/monty-python/tests/test_types.py function test_none_input (line 7) | def test_none_input(): function test_none_output (line 12) | def test_none_output(): function test_bool_true (line 17) | def test_bool_true(): function test_bool_false (line 24) | def test_bool_false(): function test_int (line 31) | def test_int(): function test_float (line 38) | def test_float(): function test_string (line 45) | def test_string(): function test_bytes (line 52) | def test_bytes(): function test_list (line 59) | def test_list(): function test_tuple (line 66) | def test_tuple(): function test_dict (line 73) | def test_dict(): function test_set (line 79) | def test_set(): function test_frozenset (line 85) | def test_frozenset(): function test_ellipsis_input (line 91) | def test_ellipsis_input(): function test_ellipsis_output (line 96) | def test_ellipsis_output(): function test_nested_list (line 101) | def test_nested_list(): function test_nested_dict (line 107) | def test_nested_dict(): function test_mixed_nested (line 113) | def test_mixed_nested(): function test_list_output (line 122) | def test_list_output(): function test_dict_output (line 127) | def test_dict_output(): function test_tuple_output (line 132) | def test_tuple_output(): function test_set_output (line 137) | def test_set_output(): function test_exception_input (line 145) | def test_exception_input(): function test_exception_output (line 153) | def test_exception_output(): function test_exception_roundtrip (line 161) | def test_exception_roundtrip(exc_class: type[Exception]): function test_exception_subclass_input (line 169) | def test_exception_subclass_input(): function test_int_subclass_input (line 188) | def test_int_subclass_input(): function test_str_subclass_input (line 198) | def test_str_subclass_input(): function test_list_subclass_input (line 208) | def test_list_subclass_input(): function test_dict_subclass_input (line 218) | def test_dict_subclass_input(): function test_tuple_subclass_input (line 228) | def test_tuple_subclass_input(): function test_set_subclass_input (line 238) | def test_set_subclass_input(): function test_bool_preserves_type (line 248) | def test_bool_preserves_type(): function test_return_int (line 256) | def test_return_int(): function test_return_exception (line 266) | def test_return_exception(): function test_return_builtin (line 276) | def test_return_builtin(): function test_bigint_input (line 285) | def test_bigint_input(): function test_bigint_output (line 294) | def test_bigint_output(): function test_bigint_negative_input (line 302) | def test_bigint_negative_input(): function test_int_overflow_to_bigint (line 311) | def test_int_overflow_to_bigint(): function test_bigint_arithmetic (line 320) | def test_bigint_arithmetic(): function test_bigint_comparison (line 329) | def test_bigint_comparison(): function test_bigint_in_collection (line 337) | def test_bigint_in_collection(): function test_bigint_as_dict_key (line 346) | def test_bigint_as_dict_key(): function test_bigint_hash_consistency_small_values (line 355) | def test_bigint_hash_consistency_small_values(): function test_bigint_hash_consistency_boundary (line 377) | def test_bigint_hash_consistency_boundary(): function test_bigint_hash_consistency_large_values (line 388) | def test_bigint_hash_consistency_large_values(): function test_namedtuple_sys_version_info (line 411) | def test_namedtuple_sys_version_info(): function test_namedtuple_sys_version_info_index_access (line 431) | def test_namedtuple_sys_version_info_index_access(): function test_namedtuple_sys_version_info_tuple_comparison (line 442) | def test_namedtuple_sys_version_info_tuple_comparison(): function test_namedtuple_custom_input_attribute_access (line 452) | def test_namedtuple_custom_input_attribute_access(): function test_namedtuple_custom_input_index_access (line 467) | def test_namedtuple_custom_input_index_access(): function test_namedtuple_custom_input_multiple_fields (line 479) | def test_namedtuple_custom_input_multiple_fields(): function test_namedtuple_custom_input_repr (line 498) | def test_namedtuple_custom_input_repr(): function test_namedtuple_custom_input_len (line 512) | def test_namedtuple_custom_input_len(): function test_namedtuple_custom_input_roundtrip (line 525) | def test_namedtuple_custom_input_roundtrip(): function test_namedtuple_custom_missing_attr_error (line 542) | def test_namedtuple_custom_missing_attr_error(): FILE: crates/monty-type-checking/src/db.rs type MemoryDb (line 22) | pub(crate) struct MemoryDb { method fmt (line 32) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 44) | pub fn new() -> Self { method test_system (line 57) | fn test_system(&self) -> &TestSystem { method test_system_mut (line 61) | fn test_system_mut(&mut self) -> &mut TestSystem { method vendored (line 68) | fn vendored(&self) -> &VendoredFileSystem { method system (line 72) | fn system(&self) -> &dyn System { method files (line 76) | fn files(&self) -> &Files { method python_version (line 80) | fn python_version(&self) -> PythonVersion { method should_check_file (line 87) | fn should_check_file(&self, file: File) -> bool { method rule_selection (line 91) | fn rule_selection(&self, _file: File) -> &RuleSelection { method lint_registry (line 95) | fn lint_registry(&self) -> &LintRegistry { method analysis_settings (line 99) | fn analysis_settings(&self, _file: File) -> &AnalysisSettings { method verbose (line 103) | fn verbose(&self) -> bool { method search_paths (line 110) | fn search_paths(&self) -> &SearchPaths { FILE: crates/monty-type-checking/src/type_check.rs type SourceFile (line 24) | pub struct SourceFile<'a> { function new (line 34) | pub fn new(source_code: &'a str, path: &'a str) -> Self { function type_check (line 49) | pub fn type_check( function to_string (line 143) | fn to_string(err: impl Display) -> String { function adjust_annotation_span (line 152) | fn adjust_annotation_span(ann: &mut Annotation, main_file: File, offset:... type TypeCheckingDiagnostics (line 167) | pub struct TypeCheckingDiagnostics { method fmt (line 182) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method fmt (line 204) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 211) | fn new(diagnostics: Vec, db: MemoryDb) -> Self { method config (line 220) | fn config(&self) -> DisplayDiagnosticConfig { method debug_details (line 228) | pub fn debug_details(&self) -> DebugTypeCheckingDiagnostics<'_> { method format (line 239) | pub fn format(self, format: DiagnosticFormat) -> Self { method format_from_str (line 246) | pub fn format_from_str(self, format: &str) -> Result { method color (line 266) | pub fn color(self, color: bool) -> Self { type DebugTypeCheckingDiagnostics (line 196) | pub struct DebugTypeCheckingDiagnostics<'a> { function filter_diagnostics (line 274) | fn filter_diagnostics(d: &Diagnostic) -> bool { FILE: crates/monty-type-checking/tests/bad_types.py function takes_int (line 9) | def takes_int(x: int) -> None: function takes_str (line 13) | def takes_str(x: str) -> None: function takes_list_int (line 17) | def takes_list_int(x: list[int]) -> None: function should_return_int (line 35) | def should_return_int() -> int: function should_return_str (line 39) | def should_return_str() -> str: function should_return_list_int (line 43) | def should_return_list_int() -> list[int]: function should_return_none (line 47) | def should_return_none() -> None: function get_int (line 54) | def get_int() -> int: function get_str (line 58) | def get_str() -> str: class MyClass (line 79) | class MyClass: method __init__ (line 80) | def __init__(self) -> None: function takes_two (line 91) | def takes_two(a: int, b: str) -> None: FILE: crates/monty-type-checking/tests/good_types.py function check_int (line 12) | def check_int(x: int) -> None: function check_float (line 16) | def check_float(x: float) -> None: function check_str (line 20) | def check_str(x: str) -> None: function check_bool (line 24) | def check_bool(x: bool) -> None: function check_bytes (line 28) | def check_bytes(x: bytes) -> None: function check_list_int (line 32) | def check_list_int(x: list[int]) -> None: function check_list_str (line 36) | def check_list_str(x: list[str]) -> None: function check_tuple_int (line 40) | def check_tuple_int(x: tuple[int, ...]) -> None: function check_dict_str_int (line 44) | def check_dict_str_int(x: dict[str, int]) -> None: function check_set_int (line 48) | def check_set_int(x: set[int]) -> None: function check_frozenset_int (line 52) | def check_frozenset_int(x: frozenset[int]) -> None: function get_int (line 59) | def get_int() -> int: function get_float (line 63) | def get_float() -> float: function get_str (line 67) | def get_str() -> str: function get_list_int (line 71) | def get_list_int() -> list[int]: function get_list_str (line 75) | def get_list_str() -> list[str]: function get_object (line 79) | def get_object() -> object: function get_dict_str_int (line 83) | def get_dict_str_int() -> dict[str, int]: function get_set_str (line 87) | def get_set_str() -> set[str]: function get_frozenset_str (line 91) | def get_frozenset_str() -> frozenset[str]: function get_tuple_str_int (line 95) | def get_tuple_str_int() -> tuple[str, int]: function get_bytes (line 99) | def get_bytes() -> bytes: function handle_base (line 324) | def handle_base(e: BaseException) -> None: function handle_exception (line 334) | def handle_exception(e: Exception) -> None: function may_fail (line 366) | def may_fail(x_fail: int) -> int: function not_implemented (line 374) | def not_implemented() -> None: function foo (line 386) | async def foo(a: int): function bar (line 390) | async def bar(): class Point (line 402) | class Point: FILE: crates/monty-type-checking/tests/main.rs function type_checking_success (line 8) | fn type_checking_success() { function type_checking_error (line 21) | fn type_checking_error() { function type_checking_error_stubs (line 57) | fn type_checking_error_stubs() { function type_checking_error_concise (line 103) | fn type_checking_error_concise() { function missing_stdlib_datetime (line 125) | fn missing_stdlib_datetime() { function type_good_types (line 145) | fn type_good_types() { function check_file_content (line 151) | fn check_file_content(file_name: &str, mut actual: &str) { function type_bad_types (line 182) | fn type_bad_types() { function test_reveal_types (line 195) | fn test_reveal_types() { FILE: crates/monty-typeshed/build.rs constant TYPESHED_SOURCE_DIR (line 18) | const TYPESHED_SOURCE_DIR: &str = "vendor/typeshed"; constant TYPESHED_ZIP_LOCATION (line 20) | const TYPESHED_ZIP_LOCATION: &str = "/zipped_typeshed.zip"; function write_zipped_typeshed_to (line 27) | fn write_zipped_typeshed_to(writer: File) -> ZipResult { function main (line 87) | fn main() { FILE: crates/monty-typeshed/custom/asyncio.pyi class _Future (line 12) | class _Future(Awaitable[_T]): method __iter__ (line 16) | def __iter__(self) -> Generator[Any, None, _T]: ... method __await__ (line 17) | def __await__(self) -> Generator[Any, None, _T]: ... function run (line 21) | def run(main: Awaitable[_T], *, debug: bool | None = None, loop_factory:... function gather (line 23) | def gather( function gather (line 27) | def gather( function gather (line 35) | def gather( function gather (line 44) | def gather( function gather (line 54) | def gather( function gather (line 65) | def gather( function gather (line 77) | def gather(*coros_or_futures: _FutureLike[_T], return_exceptions: Litera... function gather (line 79) | def gather(coro_or_future1: _FutureLike[_T1], /, *, return_exceptions: b... function gather (line 81) | def gather( function gather (line 85) | def gather( function gather (line 94) | def gather( function gather (line 104) | def gather( function gather (line 117) | def gather( function gather (line 138) | def gather(*coros_or_futures: _FutureLike[_T], return_exceptions: bool) ... FILE: crates/monty-typeshed/custom/os.pyi function getenv (line 10) | def getenv(key: str) -> str | None: ... function getenv (line 12) | def getenv(key: str, default: _T) -> str | _T: ... class stat_result (line 14) | class stat_result(structseq[float], tuple[int, int, int, int, int, int, ... method st_mode (line 27) | def st_mode(self) -> int: method st_ino (line 32) | def st_ino(self) -> int: method st_dev (line 37) | def st_dev(self) -> int: method st_nlink (line 42) | def st_nlink(self) -> int: method st_uid (line 47) | def st_uid(self) -> int: method st_gid (line 52) | def st_gid(self) -> int: method st_size (line 57) | def st_size(self) -> int: method st_atime (line 62) | def st_atime(self) -> float: method st_mtime (line 67) | def st_mtime(self) -> float: method st_ctime (line 72) | def st_ctime(self) -> float: class PathLike (line 82) | class PathLike(ABC, Protocol[AnyStr_co]): # type: ignore[misc] # pyrig... method __fspath__ (line 85) | def __fspath__(self) -> AnyStr_co: ... FILE: crates/monty-typeshed/custom/sys.pyi class _version_info (line 19) | class _version_info(_UninstantiableStructseq, tuple[int, int, int, _Rele... method major (line 23) | def major(self) -> int: ... method minor (line 25) | def minor(self) -> int: ... method micro (line 27) | def micro(self) -> int: ... method releaselevel (line 29) | def releaselevel(self) -> _ReleaseLevel: ... method serial (line 31) | def serial(self) -> int: ... FILE: crates/monty-typeshed/src/lib.rs constant SOURCE_COMMIT (line 6) | pub const SOURCE_COMMIT: &str = include_str!("../vendor/typeshed/source_... function file_system (line 13) | pub fn file_system() -> &'static VendoredFileSystem { function test_commit (line 26) | fn test_commit() { function typeshed_zip_created_at_build_time (line 31) | fn typeshed_zip_created_at_build_time() { function typeshed_versions_file_exists (line 44) | fn typeshed_versions_file_exists() { FILE: crates/monty-typeshed/update.py function clone_or_update_typeshed (line 160) | def clone_or_update_typeshed() -> str: function filter_statements (line 189) | def filter_statements(nodes: list[ast.stmt]) -> list[ast.stmt]: function filter_if_block (line 223) | def filter_if_block(node: ast.If) -> ast.If | None: function filter_builtins (line 250) | def filter_builtins(source: str) -> str: function main (line 269) | def main() -> int: FILE: crates/monty-typeshed/vendor/typeshed/stdlib/_collections_abc.pyi class dict_keys (line 72) | class dict_keys(KeysView[_KT_co], Generic[_KT_co, _VT_co]): # undocumented method __eq__ (line 73) | def __eq__(self, value: object, /) -> bool: ... method __reversed__ (line 74) | def __reversed__(self) -> Iterator[_KT_co]: ... method isdisjoint (line 77) | def isdisjoint(self, other: Iterable[_KT_co], /) -> bool: ... method mapping (line 80) | def mapping(self) -> MappingProxyType[_KT_co, _VT_co]: ... class dict_values (line 83) | class dict_values(ValuesView[_VT_co], Generic[_KT_co, _VT_co]): # undoc... method __reversed__ (line 84) | def __reversed__(self) -> Iterator[_VT_co]: ... method mapping (line 87) | def mapping(self) -> MappingProxyType[_KT_co, _VT_co]: ... class dict_items (line 90) | class dict_items(ItemsView[_KT_co, _VT_co]): # undocumented method __eq__ (line 91) | def __eq__(self, value: object, /) -> bool: ... method __reversed__ (line 92) | def __reversed__(self) -> Iterator[tuple[_KT_co, _VT_co]]: ... method isdisjoint (line 95) | def isdisjoint(self, other: Iterable[tuple[_KT_co, _VT_co]], /) -> boo... method mapping (line 98) | def mapping(self) -> MappingProxyType[_KT_co, _VT_co]: ... class Buffer (line 102) | class Buffer(Protocol): method __buffer__ (line 105) | def __buffer__(self, flags: int, /) -> memoryview: ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/_typeshed/__init__.pyi class IdentityFunction (line 76) | class IdentityFunction(Protocol): method __call__ (line 77) | def __call__(self, x: _T, /) -> _T: ... class SupportsNext (line 80) | class SupportsNext(Protocol[_T_co]): method __next__ (line 81) | def __next__(self) -> _T_co: ... class SupportsAnext (line 84) | class SupportsAnext(Protocol[_T_co]): method __anext__ (line 85) | def __anext__(self) -> Awaitable[_T_co]: ... class SupportsBool (line 87) | class SupportsBool(Protocol): method __bool__ (line 88) | def __bool__(self) -> bool: ... class SupportsDunderLT (line 91) | class SupportsDunderLT(Protocol[_T_contra]): method __lt__ (line 92) | def __lt__(self, other: _T_contra, /) -> SupportsBool: ... class SupportsDunderGT (line 94) | class SupportsDunderGT(Protocol[_T_contra]): method __gt__ (line 95) | def __gt__(self, other: _T_contra, /) -> SupportsBool: ... class SupportsDunderLE (line 97) | class SupportsDunderLE(Protocol[_T_contra]): method __le__ (line 98) | def __le__(self, other: _T_contra, /) -> SupportsBool: ... class SupportsDunderGE (line 100) | class SupportsDunderGE(Protocol[_T_contra]): method __ge__ (line 101) | def __ge__(self, other: _T_contra, /) -> SupportsBool: ... class SupportsAllComparisons (line 103) | class SupportsAllComparisons( class SupportsAdd (line 112) | class SupportsAdd(Protocol[_T_contra, _T_co]): method __add__ (line 113) | def __add__(self, x: _T_contra, /) -> _T_co: ... class SupportsRAdd (line 115) | class SupportsRAdd(Protocol[_T_contra, _T_co]): method __radd__ (line 116) | def __radd__(self, x: _T_contra, /) -> _T_co: ... class SupportsSub (line 118) | class SupportsSub(Protocol[_T_contra, _T_co]): method __sub__ (line 119) | def __sub__(self, x: _T_contra, /) -> _T_co: ... class SupportsRSub (line 121) | class SupportsRSub(Protocol[_T_contra, _T_co]): method __rsub__ (line 122) | def __rsub__(self, x: _T_contra, /) -> _T_co: ... class SupportsMul (line 124) | class SupportsMul(Protocol[_T_contra, _T_co]): method __mul__ (line 125) | def __mul__(self, x: _T_contra, /) -> _T_co: ... class SupportsRMul (line 127) | class SupportsRMul(Protocol[_T_contra, _T_co]): method __rmul__ (line 128) | def __rmul__(self, x: _T_contra, /) -> _T_co: ... class SupportsDivMod (line 130) | class SupportsDivMod(Protocol[_T_contra, _T_co]): method __divmod__ (line 131) | def __divmod__(self, other: _T_contra, /) -> _T_co: ... class SupportsRDivMod (line 133) | class SupportsRDivMod(Protocol[_T_contra, _T_co]): method __rdivmod__ (line 134) | def __rdivmod__(self, other: _T_contra, /) -> _T_co: ... class SupportsIter (line 138) | class SupportsIter(Protocol[_T_co]): method __iter__ (line 139) | def __iter__(self) -> _T_co: ... class SupportsAiter (line 143) | class SupportsAiter(Protocol[_T_co]): method __aiter__ (line 144) | def __aiter__(self) -> _T_co: ... class SupportsLen (line 146) | class SupportsLen(Protocol): method __len__ (line 147) | def __len__(self) -> int: ... class SupportsLenAndGetItem (line 149) | class SupportsLenAndGetItem(Protocol[_T_co]): method __len__ (line 150) | def __len__(self) -> int: ... method __getitem__ (line 151) | def __getitem__(self, k: int, /) -> _T_co: ... class SupportsTrunc (line 153) | class SupportsTrunc(Protocol): method __trunc__ (line 154) | def __trunc__(self) -> int: ... class SupportsItems (line 159) | class SupportsItems(Protocol[_KT_co, _VT_co]): method items (line 160) | def items(self) -> AbstractSet[tuple[_KT_co, _VT_co]]: ... class SupportsKeysAndGetItem (line 163) | class SupportsKeysAndGetItem(Protocol[_KT, _VT_co]): method keys (line 164) | def keys(self) -> Iterable[_KT]: ... method __getitem__ (line 165) | def __getitem__(self, key: _KT, /) -> _VT_co: ... class SupportsGetItem (line 168) | class SupportsGetItem(Protocol[_KT_contra, _VT_co]): method __getitem__ (line 169) | def __getitem__(self, key: _KT_contra, /) -> _VT_co: ... class SupportsContainsAndGetItem (line 172) | class SupportsContainsAndGetItem(Protocol[_KT_contra, _VT_co]): method __contains__ (line 173) | def __contains__(self, x: Any, /) -> bool: ... method __getitem__ (line 174) | def __getitem__(self, key: _KT_contra, /) -> _VT_co: ... class SupportsItemAccess (line 177) | class SupportsItemAccess(Protocol[_KT_contra, _VT]): method __contains__ (line 178) | def __contains__(self, x: Any, /) -> bool: ... method __getitem__ (line 179) | def __getitem__(self, key: _KT_contra, /) -> _VT: ... method __setitem__ (line 180) | def __setitem__(self, key: _KT_contra, value: _VT, /) -> None: ... method __delitem__ (line 181) | def __delitem__(self, key: _KT_contra, /) -> None: ... class HasFileno (line 256) | class HasFileno(Protocol): method fileno (line 257) | def fileno(self) -> int: ... class SupportsRead (line 264) | class SupportsRead(Protocol[_T_co]): method read (line 265) | def read(self, length: int = ..., /) -> _T_co: ... class SupportsReadline (line 268) | class SupportsReadline(Protocol[_T_co]): method readline (line 269) | def readline(self, length: int = ..., /) -> _T_co: ... class SupportsNoArgReadline (line 272) | class SupportsNoArgReadline(Protocol[_T_co]): method readline (line 273) | def readline(self) -> _T_co: ... class SupportsWrite (line 276) | class SupportsWrite(Protocol[_T_contra]): method write (line 277) | def write(self, s: _T_contra, /) -> object: ... class SupportsFlush (line 280) | class SupportsFlush(Protocol): method flush (line 281) | def flush(self) -> object: ... class Viewable (line 284) | class Viewable(Protocol[_T_co]): method __len__ (line 285) | def __len__(self) -> int: ... method __iter__ (line 286) | def __iter__(self) -> Iterator[_T_co]: ... class SupportsGetItemViewable (line 288) | class SupportsGetItemViewable(Protocol[_KT, _VT_co]): method __len__ (line 289) | def __len__(self) -> int: ... method __iter__ (line 290) | def __iter__(self) -> Iterator[_KT]: ... method __getitem__ (line 291) | def __getitem__(self, key: _KT, /) -> _VT_co: ... class SliceableBuffer (line 303) | class SliceableBuffer(Buffer, Protocol): method __getitem__ (line 304) | def __getitem__(self, slice: slice[SupportsIndex | None], /) -> Sequen... class IndexableBuffer (line 306) | class IndexableBuffer(Buffer, Protocol): method __getitem__ (line 307) | def __getitem__(self, i: int, /) -> int: ... class SupportsGetItemBuffer (line 309) | class SupportsGetItemBuffer(SliceableBuffer, IndexableBuffer, Protocol): method __contains__ (line 310) | def __contains__(self, x: Any, /) -> bool: ... method __getitem__ (line 312) | def __getitem__(self, slice: slice[SupportsIndex | None], /) -> Sequen... method __getitem__ (line 314) | def __getitem__(self, i: int, /) -> int: ... class SizedBuffer (line 316) | class SizedBuffer(Sized, Buffer, Protocol): ... class NoneType (line 327) | class NoneType: method __bool__ (line 328) | def __bool__(self) -> Literal[False]: ... class structseq (line 335) | class structseq(Generic[_T_co]): method __new__ (line 345) | def __new__(cls, sequence: Iterable[_T_co], dict: dict[str, Any] = ...... method __replace__ (line 347) | def __replace__(self, **kwargs: Any) -> _Self: ... class DataclassInstance (line 366) | class DataclassInstance(Protocol): class StrEnum (line 383) | class StrEnum(str, Enum): ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/asyncio.pyi class _Future (line 12) | class _Future(Awaitable[_T]): method __iter__ (line 16) | def __iter__(self) -> Generator[Any, None, _T]: ... method __await__ (line 17) | def __await__(self) -> Generator[Any, None, _T]: ... function run (line 21) | def run(main: Awaitable[_T], *, debug: bool | None = None, loop_factory:... function gather (line 23) | def gather( function gather (line 27) | def gather( function gather (line 35) | def gather( function gather (line 44) | def gather( function gather (line 54) | def gather( function gather (line 65) | def gather( function gather (line 77) | def gather(*coros_or_futures: _FutureLike[_T], return_exceptions: Litera... function gather (line 79) | def gather(coro_or_future1: _FutureLike[_T1], /, *, return_exceptions: b... function gather (line 81) | def gather( function gather (line 85) | def gather( function gather (line 94) | def gather( function gather (line 104) | def gather( function gather (line 117) | def gather( function gather (line 138) | def gather(*coros_or_futures: _FutureLike[_T], return_exceptions: bool) ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/builtins.pyi class object (line 81) | class object: method __class__ (line 88) | def __class__(self) -> type[Self]: ... method __class__ (line 90) | def __class__(self, type: type[Self], /) -> None: ... method __init__ (line 91) | def __init__(self) -> None: ... method __new__ (line 92) | def __new__(cls) -> Self: ... method __setattr__ (line 93) | def __setattr__(self, name: str, value: Any, /) -> None: ... method __delattr__ (line 94) | def __delattr__(self, name: str, /) -> None: ... method __eq__ (line 95) | def __eq__(self, value: object, /) -> bool: ... method __ne__ (line 96) | def __ne__(self, value: object, /) -> bool: ... method __str__ (line 97) | def __str__(self) -> str: ... method __repr__ (line 98) | def __repr__(self) -> str: ... method __hash__ (line 99) | def __hash__(self) -> int: ... method __format__ (line 100) | def __format__(self, format_spec: str, /) -> str: ... method __getattribute__ (line 101) | def __getattribute__(self, name: str, /) -> Any: ... method __sizeof__ (line 102) | def __sizeof__(self) -> int: ... method __reduce__ (line 103) | def __reduce__(self) -> str | tuple[Any, ...]: ... method __reduce_ex__ (line 104) | def __reduce_ex__(self, protocol: SupportsIndex, /) -> str | tuple[Any... method __getstate__ (line 106) | def __getstate__(self) -> object: ... method __dir__ (line 108) | def __dir__(self) -> Iterable[str]: ... method __init_subclass__ (line 109) | def __init_subclass__(cls) -> None: ... method __subclasshook__ (line 111) | def __subclasshook__(cls, subclass: type, /) -> bool: ... class type (line 114) | class type: method __base__ (line 116) | def __base__(self) -> type | None: ... method __basicsize__ (line 120) | def __basicsize__(self) -> int: ... method __dictoffset__ (line 124) | def __dictoffset__(self) -> int: ... method __flags__ (line 126) | def __flags__(self) -> int: ... method __itemsize__ (line 128) | def __itemsize__(self) -> int: ... method __mro__ (line 132) | def __mro__(self) -> tuple[type, ...]: ... method __text_signature__ (line 137) | def __text_signature__(self) -> str | None: ... method __weakrefoffset__ (line 139) | def __weakrefoffset__(self) -> int: ... method __init__ (line 141) | def __init__(self, o: object, /) -> None: ... method __init__ (line 143) | def __init__(self, name: str, bases: tuple[type, ...], dict: dict[str,... method __new__ (line 145) | def __new__(cls, o: object, /) -> type: ... method __new__ (line 147) | def __new__( method __call__ (line 150) | def __call__(self, *args: Any, **kwds: Any) -> Any: ... method __subclasses__ (line 151) | def __subclasses__(self: _typeshed.Self) -> list[_typeshed.Self]: ... method mro (line 152) | def mro(self) -> list[type]: ... method __instancecheck__ (line 153) | def __instancecheck__(self, instance: Any, /) -> bool: ... method __subclasscheck__ (line 154) | def __subclasscheck__(self, subclass: type, /) -> bool: ... method __prepare__ (line 156) | def __prepare__(metacls, name: str, bases: tuple[type, ...], /, **kwds... method __or__ (line 158) | def __or__(self: _typeshed.Self, value: Any, /) -> types.UnionType | _... method __ror__ (line 159) | def __ror__(self: _typeshed.Self, value: Any, /) -> types.UnionType | ... class int (line 175) | class int: method __new__ (line 177) | def __new__(cls, x: ConvertibleToInt = 0, /) -> Self: ... method __new__ (line 179) | def __new__(cls, x: str | bytes | bytearray, /, base: SupportsIndex) -... method as_integer_ratio (line 180) | def as_integer_ratio(self) -> tuple[int, Literal[1]]: ... method real (line 182) | def real(self) -> int: ... method imag (line 184) | def imag(self) -> Literal[0]: ... method numerator (line 186) | def numerator(self) -> int: ... method denominator (line 188) | def denominator(self) -> Literal[1]: ... method conjugate (line 189) | def conjugate(self) -> int: ... method bit_length (line 190) | def bit_length(self) -> int: ... method bit_count (line 192) | def bit_count(self) -> int: ... method to_bytes (line 194) | def to_bytes( method from_bytes (line 198) | def from_bytes( method to_bytes (line 206) | def to_bytes( method from_bytes (line 210) | def from_bytes( method is_integer (line 218) | def is_integer(self) -> Literal[True]: ... method __add__ (line 220) | def __add__(self, value: int, /) -> int: ... method __sub__ (line 221) | def __sub__(self, value: int, /) -> int: ... method __mul__ (line 222) | def __mul__(self, value: int, /) -> int: ... method __floordiv__ (line 223) | def __floordiv__(self, value: int, /) -> int: ... method __truediv__ (line 224) | def __truediv__(self, value: int, /) -> float: ... method __mod__ (line 225) | def __mod__(self, value: int, /) -> int: ... method __divmod__ (line 226) | def __divmod__(self, value: int, /) -> tuple[int, int]: ... method __radd__ (line 227) | def __radd__(self, value: int, /) -> int: ... method __rsub__ (line 228) | def __rsub__(self, value: int, /) -> int: ... method __rmul__ (line 229) | def __rmul__(self, value: int, /) -> int: ... method __rfloordiv__ (line 230) | def __rfloordiv__(self, value: int, /) -> int: ... method __rtruediv__ (line 231) | def __rtruediv__(self, value: int, /) -> float: ... method __rmod__ (line 232) | def __rmod__(self, value: int, /) -> int: ... method __rdivmod__ (line 233) | def __rdivmod__(self, value: int, /) -> tuple[int, int]: ... method __pow__ (line 235) | def __pow__(self, x: Literal[0], /) -> Literal[1]: ... method __pow__ (line 237) | def __pow__(self, value: Literal[0], mod: None, /) -> Literal[1]: ... method __pow__ (line 239) | def __pow__(self, value: _PositiveInteger, mod: None = None, /) -> int... method __pow__ (line 241) | def __pow__(self, value: _NegativeInteger, mod: None = None, /) -> flo... method __pow__ (line 243) | def __pow__(self, value: int, mod: None = None, /) -> Any: ... method __pow__ (line 245) | def __pow__(self, value: int, mod: int, /) -> int: ... method __rpow__ (line 246) | def __rpow__(self, value: int, mod: int | None = None, /) -> Any: ... method __and__ (line 247) | def __and__(self, value: int, /) -> int: ... method __or__ (line 248) | def __or__(self, value: int, /) -> int: ... method __xor__ (line 249) | def __xor__(self, value: int, /) -> int: ... method __lshift__ (line 250) | def __lshift__(self, value: int, /) -> int: ... method __rshift__ (line 251) | def __rshift__(self, value: int, /) -> int: ... method __rand__ (line 252) | def __rand__(self, value: int, /) -> int: ... method __ror__ (line 253) | def __ror__(self, value: int, /) -> int: ... method __rxor__ (line 254) | def __rxor__(self, value: int, /) -> int: ... method __rlshift__ (line 255) | def __rlshift__(self, value: int, /) -> int: ... method __rrshift__ (line 256) | def __rrshift__(self, value: int, /) -> int: ... method __neg__ (line 257) | def __neg__(self) -> int: ... method __pos__ (line 258) | def __pos__(self) -> int: ... method __invert__ (line 259) | def __invert__(self) -> int: ... method __trunc__ (line 260) | def __trunc__(self) -> int: ... method __ceil__ (line 261) | def __ceil__(self) -> int: ... method __floor__ (line 262) | def __floor__(self) -> int: ... method __round__ (line 264) | def __round__(self, ndigits: SupportsIndex | None = None, /) -> int: ... method __round__ (line 266) | def __round__(self, ndigits: SupportsIndex = ..., /) -> int: ... method __getnewargs__ (line 268) | def __getnewargs__(self) -> tuple[int]: ... method __eq__ (line 269) | def __eq__(self, value: object, /) -> bool: ... method __ne__ (line 270) | def __ne__(self, value: object, /) -> bool: ... method __lt__ (line 271) | def __lt__(self, value: int, /) -> bool: ... method __le__ (line 272) | def __le__(self, value: int, /) -> bool: ... method __gt__ (line 273) | def __gt__(self, value: int, /) -> bool: ... method __ge__ (line 274) | def __ge__(self, value: int, /) -> bool: ... method __float__ (line 275) | def __float__(self) -> float: ... method __int__ (line 276) | def __int__(self) -> int: ... method __abs__ (line 277) | def __abs__(self) -> int: ... method __hash__ (line 278) | def __hash__(self) -> int: ... method __bool__ (line 279) | def __bool__(self) -> bool: ... method __index__ (line 280) | def __index__(self) -> int: ... method __format__ (line 281) | def __format__(self, format_spec: str, /) -> str: ... class float (line 284) | class float: method __new__ (line 285) | def __new__(cls, x: ConvertibleToFloat = 0, /) -> Self: ... method as_integer_ratio (line 286) | def as_integer_ratio(self) -> tuple[int, int]: ... method hex (line 287) | def hex(self) -> str: ... method is_integer (line 288) | def is_integer(self) -> bool: ... method fromhex (line 290) | def fromhex(cls, string: str, /) -> Self: ... method real (line 292) | def real(self) -> float: ... method imag (line 294) | def imag(self) -> float: ... method conjugate (line 295) | def conjugate(self) -> float: ... method __add__ (line 296) | def __add__(self, value: float, /) -> float: ... method __sub__ (line 297) | def __sub__(self, value: float, /) -> float: ... method __mul__ (line 298) | def __mul__(self, value: float, /) -> float: ... method __floordiv__ (line 299) | def __floordiv__(self, value: float, /) -> float: ... method __truediv__ (line 300) | def __truediv__(self, value: float, /) -> float: ... method __mod__ (line 301) | def __mod__(self, value: float, /) -> float: ... method __divmod__ (line 302) | def __divmod__(self, value: float, /) -> tuple[float, float]: ... method __pow__ (line 304) | def __pow__(self, value: int, mod: None = None, /) -> float: ... method __pow__ (line 306) | def __pow__(self, value: float, mod: None = None, /) -> Any: ... method __radd__ (line 307) | def __radd__(self, value: float, /) -> float: ... method __rsub__ (line 308) | def __rsub__(self, value: float, /) -> float: ... method __rmul__ (line 309) | def __rmul__(self, value: float, /) -> float: ... method __rfloordiv__ (line 310) | def __rfloordiv__(self, value: float, /) -> float: ... method __rtruediv__ (line 311) | def __rtruediv__(self, value: float, /) -> float: ... method __rmod__ (line 312) | def __rmod__(self, value: float, /) -> float: ... method __rdivmod__ (line 313) | def __rdivmod__(self, value: float, /) -> tuple[float, float]: ... method __rpow__ (line 315) | def __rpow__(self, value: _PositiveInteger, mod: None = None, /) -> fl... method __rpow__ (line 317) | def __rpow__(self, value: _NegativeInteger, mod: None = None, /) -> co... method __rpow__ (line 319) | def __rpow__(self, value: float, mod: None = None, /) -> Any: ... method __getnewargs__ (line 320) | def __getnewargs__(self) -> tuple[float]: ... method __trunc__ (line 321) | def __trunc__(self) -> int: ... method __ceil__ (line 322) | def __ceil__(self) -> int: ... method __floor__ (line 323) | def __floor__(self) -> int: ... method __round__ (line 325) | def __round__(self, ndigits: None = None, /) -> int: ... method __round__ (line 327) | def __round__(self, ndigits: SupportsIndex, /) -> float: ... method __eq__ (line 328) | def __eq__(self, value: object, /) -> bool: ... method __ne__ (line 329) | def __ne__(self, value: object, /) -> bool: ... method __lt__ (line 330) | def __lt__(self, value: float, /) -> bool: ... method __le__ (line 331) | def __le__(self, value: float, /) -> bool: ... method __gt__ (line 332) | def __gt__(self, value: float, /) -> bool: ... method __ge__ (line 333) | def __ge__(self, value: float, /) -> bool: ... method __neg__ (line 334) | def __neg__(self) -> float: ... method __pos__ (line 335) | def __pos__(self) -> float: ... method __int__ (line 336) | def __int__(self) -> int: ... method __float__ (line 337) | def __float__(self) -> float: ... method __abs__ (line 338) | def __abs__(self) -> float: ... method __hash__ (line 339) | def __hash__(self) -> int: ... method __bool__ (line 340) | def __bool__(self) -> bool: ... method __format__ (line 341) | def __format__(self, format_spec: str, /) -> str: ... method from_number (line 344) | def from_number(cls, number: float | SupportsIndex | SupportsFloat, /)... class _FormatMapMapping (line 347) | class _FormatMapMapping(Protocol): method __getitem__ (line 348) | def __getitem__(self, key: str, /) -> Any: ... class _TranslateTable (line 351) | class _TranslateTable(Protocol): method __getitem__ (line 352) | def __getitem__(self, key: int, /) -> str | int | None: ... class str (line 355) | class str(Sequence[str]): method __new__ (line 357) | def __new__(cls, object: object = '') -> Self: ... method __new__ (line 359) | def __new__(cls, object: ReadableBuffer, encoding: str = 'utf-8', erro... method capitalize (line 361) | def capitalize(self: LiteralString) -> LiteralString: ... method capitalize (line 363) | def capitalize(self) -> str: ... method casefold (line 365) | def casefold(self: LiteralString) -> LiteralString: ... method casefold (line 367) | def casefold(self) -> str: ... method center (line 369) | def center(self: LiteralString, width: SupportsIndex, fillchar: Litera... method center (line 371) | def center(self, width: SupportsIndex, fillchar: str = ' ', /) -> str:... method count (line 372) | def count(self, sub: str, start: SupportsIndex | None = None, end: Sup... method encode (line 373) | def encode(self, encoding: str = 'utf-8', errors: str = 'strict') -> b... method endswith (line 374) | def endswith( method expandtabs (line 378) | def expandtabs(self: LiteralString, tabsize: SupportsIndex = 8) -> Lit... method expandtabs (line 380) | def expandtabs(self, tabsize: SupportsIndex = 8) -> str: ... method find (line 381) | def find(self, sub: str, start: SupportsIndex | None = None, end: Supp... method format (line 383) | def format(self: LiteralString, *args: LiteralString, **kwargs: Litera... method format (line 385) | def format(self, *args: object, **kwargs: object) -> str: ... method format_map (line 386) | def format_map(self, mapping: _FormatMapMapping, /) -> str: ... method index (line 387) | def index(self, sub: str, start: SupportsIndex | None = None, end: Sup... method isalnum (line 388) | def isalnum(self) -> bool: ... method isalpha (line 389) | def isalpha(self) -> bool: ... method isascii (line 390) | def isascii(self) -> bool: ... method isdecimal (line 391) | def isdecimal(self) -> bool: ... method isdigit (line 392) | def isdigit(self) -> bool: ... method isidentifier (line 393) | def isidentifier(self) -> bool: ... method islower (line 394) | def islower(self) -> bool: ... method isnumeric (line 395) | def isnumeric(self) -> bool: ... method isprintable (line 396) | def isprintable(self) -> bool: ... method isspace (line 397) | def isspace(self) -> bool: ... method istitle (line 398) | def istitle(self) -> bool: ... method isupper (line 399) | def isupper(self) -> bool: ... method join (line 401) | def join(self: LiteralString, iterable: Iterable[LiteralString], /) ->... method join (line 403) | def join(self, iterable: Iterable[str], /) -> str: ... method ljust (line 405) | def ljust(self: LiteralString, width: SupportsIndex, fillchar: Literal... method ljust (line 407) | def ljust(self, width: SupportsIndex, fillchar: str = ' ', /) -> str: ... method lower (line 409) | def lower(self: LiteralString) -> LiteralString: ... method lower (line 411) | def lower(self) -> str: ... method lstrip (line 413) | def lstrip(self: LiteralString, chars: LiteralString | None = None, /)... method lstrip (line 415) | def lstrip(self, chars: str | None = None, /) -> str: ... method partition (line 417) | def partition(self: LiteralString, sep: LiteralString, /) -> tuple[Lit... method partition (line 419) | def partition(self, sep: str, /) -> tuple[str, str, str]: ... method replace (line 422) | def replace( method replace (line 426) | def replace(self, old: str, new: str, /, count: SupportsIndex = -1) ->... method replace (line 429) | def replace( method replace (line 433) | def replace(self, old: str, new: str, count: SupportsIndex = -1, /) ->... method removeprefix (line 436) | def removeprefix(self: LiteralString, prefix: LiteralString, /) -> Lit... method removeprefix (line 438) | def removeprefix(self, prefix: str, /) -> str: ... method removesuffix (line 440) | def removesuffix(self: LiteralString, suffix: LiteralString, /) -> Lit... method removesuffix (line 442) | def removesuffix(self, suffix: str, /) -> str: ... method rfind (line 443) | def rfind(self, sub: str, start: SupportsIndex | None = None, end: Sup... method rindex (line 444) | def rindex(self, sub: str, start: SupportsIndex | None = None, end: Su... method rjust (line 446) | def rjust(self: LiteralString, width: SupportsIndex, fillchar: Literal... method rjust (line 448) | def rjust(self, width: SupportsIndex, fillchar: str = ' ', /) -> str: ... method rpartition (line 450) | def rpartition( method rpartition (line 454) | def rpartition(self, sep: str, /) -> tuple[str, str, str]: ... method rsplit (line 456) | def rsplit( method rsplit (line 460) | def rsplit(self, sep: str | None = None, maxsplit: SupportsIndex = -1)... method rstrip (line 462) | def rstrip(self: LiteralString, chars: LiteralString | None = None, /)... method rstrip (line 464) | def rstrip(self, chars: str | None = None, /) -> str: ... method split (line 466) | def split( method split (line 470) | def split(self, sep: str | None = None, maxsplit: SupportsIndex = -1) ... method splitlines (line 472) | def splitlines(self: LiteralString, keepends: bool = False) -> list[Li... method splitlines (line 474) | def splitlines(self, keepends: bool = False) -> list[str]: ... method startswith (line 475) | def startswith( method strip (line 479) | def strip(self: LiteralString, chars: LiteralString | None = None, /) ... method strip (line 481) | def strip(self, chars: str | None = None, /) -> str: ... method swapcase (line 483) | def swapcase(self: LiteralString) -> LiteralString: ... method swapcase (line 485) | def swapcase(self) -> str: ... method title (line 487) | def title(self: LiteralString) -> LiteralString: ... method title (line 489) | def title(self) -> str: ... method translate (line 490) | def translate(self, table: _TranslateTable, /) -> str: ... method upper (line 492) | def upper(self: LiteralString) -> LiteralString: ... method upper (line 494) | def upper(self) -> str: ... method zfill (line 496) | def zfill(self: LiteralString, width: SupportsIndex, /) -> LiteralStri... method zfill (line 498) | def zfill(self, width: SupportsIndex, /) -> str: ... method maketrans (line 501) | def maketrans(x: dict[int, _T] | dict[str, _T] | dict[str | int, _T], ... method maketrans (line 504) | def maketrans(x: str, y: str, /) -> dict[int, int]: ... method maketrans (line 507) | def maketrans(x: str, y: str, z: str, /) -> dict[int, int | None]: ... method __add__ (line 509) | def __add__(self: LiteralString, value: LiteralString, /) -> LiteralSt... method __add__ (line 511) | def __add__(self, value: str, /) -> str: ... method __contains__ (line 512) | def __contains__(self, key: str, /) -> bool: ... method __eq__ (line 513) | def __eq__(self, value: object, /) -> bool: ... method __ge__ (line 514) | def __ge__(self, value: str, /) -> bool: ... method __getitem__ (line 516) | def __getitem__(self: LiteralString, key: SupportsIndex | slice[Suppor... method __getitem__ (line 518) | def __getitem__(self, key: SupportsIndex | slice[SupportsIndex | None]... method __gt__ (line 519) | def __gt__(self, value: str, /) -> bool: ... method __hash__ (line 520) | def __hash__(self) -> int: ... method __iter__ (line 522) | def __iter__(self: LiteralString) -> Iterator[LiteralString]: ... method __iter__ (line 524) | def __iter__(self) -> Iterator[str]: ... method __le__ (line 525) | def __le__(self, value: str, /) -> bool: ... method __len__ (line 526) | def __len__(self) -> int: ... method __lt__ (line 527) | def __lt__(self, value: str, /) -> bool: ... method __mod__ (line 529) | def __mod__(self: LiteralString, value: LiteralString | tuple[LiteralS... method __mod__ (line 531) | def __mod__(self, value: Any, /) -> str: ... method __mul__ (line 533) | def __mul__(self: LiteralString, value: SupportsIndex, /) -> LiteralSt... method __mul__ (line 535) | def __mul__(self, value: SupportsIndex, /) -> str: ... method __ne__ (line 536) | def __ne__(self, value: object, /) -> bool: ... method __rmul__ (line 538) | def __rmul__(self: LiteralString, value: SupportsIndex, /) -> LiteralS... method __rmul__ (line 540) | def __rmul__(self, value: SupportsIndex, /) -> str: ... method __getnewargs__ (line 541) | def __getnewargs__(self) -> tuple[str]: ... method __format__ (line 542) | def __format__(self, format_spec: str, /) -> str: ... class bytes (line 545) | class bytes(Sequence[int]): method __new__ (line 547) | def __new__(cls, o: Iterable[SupportsIndex] | SupportsIndex | Supports... method __new__ (line 549) | def __new__(cls, string: str, /, encoding: str, errors: str = 'strict'... method __new__ (line 551) | def __new__(cls) -> Self: ... method capitalize (line 552) | def capitalize(self) -> bytes: ... method center (line 553) | def center(self, width: SupportsIndex, fillchar: bytes = b' ', /) -> b... method count (line 554) | def count( method decode (line 561) | def decode(self, encoding: str = 'utf-8', errors: str = 'strict') -> s... method endswith (line 562) | def endswith( method expandtabs (line 569) | def expandtabs(self, tabsize: SupportsIndex = 8) -> bytes: ... method find (line 570) | def find( method hex (line 577) | def hex(self, sep: str | bytes = ..., bytes_per_sep: SupportsIndex = 1... method index (line 578) | def index( method isalnum (line 585) | def isalnum(self) -> bool: ... method isalpha (line 586) | def isalpha(self) -> bool: ... method isascii (line 587) | def isascii(self) -> bool: ... method isdigit (line 588) | def isdigit(self) -> bool: ... method islower (line 589) | def islower(self) -> bool: ... method isspace (line 590) | def isspace(self) -> bool: ... method istitle (line 591) | def istitle(self) -> bool: ... method isupper (line 592) | def isupper(self) -> bool: ... method join (line 593) | def join(self, iterable_of_bytes: Iterable[ReadableBuffer], /) -> byte... method ljust (line 594) | def ljust(self, width: SupportsIndex, fillchar: bytes | bytearray = b'... method lower (line 595) | def lower(self) -> bytes: ... method lstrip (line 596) | def lstrip(self, bytes: ReadableBuffer | None = None, /) -> bytes: ... method partition (line 597) | def partition(self, sep: ReadableBuffer, /) -> tuple[bytes, bytes, byt... method replace (line 598) | def replace(self, old: ReadableBuffer, new: ReadableBuffer, count: Sup... method removeprefix (line 599) | def removeprefix(self, prefix: ReadableBuffer, /) -> bytes: ... method removesuffix (line 600) | def removesuffix(self, suffix: ReadableBuffer, /) -> bytes: ... method rfind (line 601) | def rfind( method rindex (line 608) | def rindex( method rjust (line 615) | def rjust(self, width: SupportsIndex, fillchar: bytes | bytearray = b'... method rpartition (line 616) | def rpartition(self, sep: ReadableBuffer, /) -> tuple[bytes, bytes, by... method rsplit (line 617) | def rsplit(self, sep: ReadableBuffer | None = None, maxsplit: Supports... method rstrip (line 618) | def rstrip(self, bytes: ReadableBuffer | None = None, /) -> bytes: ... method split (line 619) | def split(self, sep: ReadableBuffer | None = None, maxsplit: SupportsI... method splitlines (line 620) | def splitlines(self, keepends: bool = False) -> list[bytes]: ... method startswith (line 621) | def startswith( method strip (line 628) | def strip(self, bytes: ReadableBuffer | None = None, /) -> bytes: ... method swapcase (line 629) | def swapcase(self) -> bytes: ... method title (line 630) | def title(self) -> bytes: ... method translate (line 631) | def translate(self, table: ReadableBuffer | None, /, delete: ReadableB... method upper (line 632) | def upper(self) -> bytes: ... method zfill (line 633) | def zfill(self, width: SupportsIndex, /) -> bytes: ... method fromhex (line 636) | def fromhex(cls, string: str | ReadableBuffer, /) -> Self: ... method fromhex (line 639) | def fromhex(cls, string: str, /) -> Self: ... method maketrans (line 642) | def maketrans(frm: ReadableBuffer, to: ReadableBuffer, /) -> bytes: ... method __len__ (line 643) | def __len__(self) -> int: ... method __iter__ (line 644) | def __iter__(self) -> Iterator[int]: ... method __hash__ (line 645) | def __hash__(self) -> int: ... method __getitem__ (line 647) | def __getitem__(self, key: SupportsIndex, /) -> int: ... method __getitem__ (line 649) | def __getitem__(self, key: slice[SupportsIndex | None], /) -> bytes: ... method __add__ (line 650) | def __add__(self, value: ReadableBuffer, /) -> bytes: ... method __mul__ (line 651) | def __mul__(self, value: SupportsIndex, /) -> bytes: ... method __rmul__ (line 652) | def __rmul__(self, value: SupportsIndex, /) -> bytes: ... method __mod__ (line 653) | def __mod__(self, value: Any, /) -> bytes: ... method __contains__ (line 654) | def __contains__(self, key: SupportsIndex | ReadableBuffer, /) -> bool... method __eq__ (line 655) | def __eq__(self, value: object, /) -> bool: ... method __ne__ (line 656) | def __ne__(self, value: object, /) -> bool: ... method __lt__ (line 657) | def __lt__(self, value: bytes, /) -> bool: ... method __le__ (line 658) | def __le__(self, value: bytes, /) -> bool: ... method __gt__ (line 659) | def __gt__(self, value: bytes, /) -> bool: ... method __ge__ (line 660) | def __ge__(self, value: bytes, /) -> bool: ... method __getnewargs__ (line 661) | def __getnewargs__(self) -> tuple[bytes]: ... method __bytes__ (line 663) | def __bytes__(self) -> bytes: ... method __buffer__ (line 665) | def __buffer__(self, flags: int, /) -> memoryview: ... class bool (line 693) | class bool(int): method __new__ (line 694) | def __new__(cls, o: object = False, /) -> Self: ... method __and__ (line 696) | def __and__(self, value: bool, /) -> bool: ... method __and__ (line 698) | def __and__(self, value: int, /) -> int: ... method __or__ (line 700) | def __or__(self, value: bool, /) -> bool: ... method __or__ (line 702) | def __or__(self, value: int, /) -> int: ... method __xor__ (line 704) | def __xor__(self, value: bool, /) -> bool: ... method __xor__ (line 706) | def __xor__(self, value: int, /) -> int: ... method __rand__ (line 708) | def __rand__(self, value: bool, /) -> bool: ... method __rand__ (line 710) | def __rand__(self, value: int, /) -> int: ... method __ror__ (line 712) | def __ror__(self, value: bool, /) -> bool: ... method __ror__ (line 714) | def __ror__(self, value: int, /) -> int: ... method __rxor__ (line 716) | def __rxor__(self, value: bool, /) -> bool: ... method __rxor__ (line 718) | def __rxor__(self, value: int, /) -> int: ... method __getnewargs__ (line 719) | def __getnewargs__(self) -> tuple[int]: ... method __invert__ (line 721) | def __invert__(self) -> int: ... class slice (line 724) | class slice(Generic[_StartT_co, _StopT_co, _StepT_co]): method start (line 726) | def start(self) -> _StartT_co: ... method step (line 728) | def step(self) -> _StepT_co: ... method stop (line 730) | def stop(self) -> _StopT_co: ... method __new__ (line 732) | def __new__(cls, start: None, stop: None = None, step: None = None, /)... method __new__ (line 734) | def __new__(cls, stop: _T2, /) -> slice[Any, _T2, Any]: ... method __new__ (line 736) | def __new__(cls, start: _T1, stop: None, step: None = None, /) -> slic... method __new__ (line 738) | def __new__(cls, start: None, stop: _T2, step: None = None, /) -> slic... method __new__ (line 740) | def __new__(cls, start: _T1, stop: _T2, step: None = None, /) -> slice... method __new__ (line 742) | def __new__(cls, start: None, stop: None, step: _T3, /) -> slice[Any, ... method __new__ (line 744) | def __new__(cls, start: _T1, stop: None, step: _T3, /) -> slice[_T1, A... method __new__ (line 746) | def __new__(cls, start: None, stop: _T2, step: _T3, /) -> slice[Any, _... method __new__ (line 748) | def __new__(cls, start: _T1, stop: _T2, step: _T3, /) -> slice[_T1, _T... method __eq__ (line 749) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 751) | def __hash__(self) -> int: ... method indices (line 755) | def indices(self, len: SupportsIndex, /) -> tuple[int, int, int]: ... class tuple (line 758) | class tuple(Sequence[_T_co]): method __new__ (line 759) | def __new__(cls, iterable: Iterable[_T_co] = (), /) -> Self: ... method __len__ (line 760) | def __len__(self) -> int: ... method __contains__ (line 761) | def __contains__(self, key: object, /) -> bool: ... method __getitem__ (line 763) | def __getitem__(self, key: SupportsIndex, /) -> _T_co: ... method __getitem__ (line 765) | def __getitem__(self, key: slice[SupportsIndex | None], /) -> tuple[_T... method __iter__ (line 766) | def __iter__(self) -> Iterator[_T_co]: ... method __lt__ (line 767) | def __lt__(self, value: tuple[_T_co, ...], /) -> bool: ... method __le__ (line 768) | def __le__(self, value: tuple[_T_co, ...], /) -> bool: ... method __gt__ (line 769) | def __gt__(self, value: tuple[_T_co, ...], /) -> bool: ... method __ge__ (line 770) | def __ge__(self, value: tuple[_T_co, ...], /) -> bool: ... method __eq__ (line 771) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 772) | def __hash__(self) -> int: ... method __add__ (line 774) | def __add__(self, value: tuple[_T_co, ...], /) -> tuple[_T_co, ...]: ... method __add__ (line 776) | def __add__(self, value: tuple[_T, ...], /) -> tuple[_T_co | _T, ...]:... method __mul__ (line 777) | def __mul__(self, value: SupportsIndex, /) -> tuple[_T_co, ...]: ... method __rmul__ (line 778) | def __rmul__(self, value: SupportsIndex, /) -> tuple[_T_co, ...]: ... method count (line 779) | def count(self, value: Any, /) -> int: ... method index (line 780) | def index(self, value: Any, start: SupportsIndex = 0, stop: SupportsIn... method __class_getitem__ (line 781) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class list (line 784) | class list(MutableSequence[_T]): method __init__ (line 786) | def __init__(self) -> None: ... method __init__ (line 788) | def __init__(self, iterable: Iterable[_T], /) -> None: ... method copy (line 789) | def copy(self) -> list[_T]: ... method append (line 790) | def append(self, object: _T, /) -> None: ... method extend (line 791) | def extend(self, iterable: Iterable[_T], /) -> None: ... method pop (line 792) | def pop(self, index: SupportsIndex = -1, /) -> _T: ... method index (line 793) | def index(self, value: _T, start: SupportsIndex = 0, stop: SupportsInd... method count (line 794) | def count(self, value: _T, /) -> int: ... method insert (line 795) | def insert(self, index: SupportsIndex, object: _T, /) -> None: ... method remove (line 796) | def remove(self, value: _T, /) -> None: ... method sort (line 798) | def sort(self: list[SupportsRichComparisonT], *, key: None = None, rev... method sort (line 800) | def sort(self, *, key: Callable[[_T], SupportsRichComparison], reverse... method __len__ (line 801) | def __len__(self) -> int: ... method __iter__ (line 802) | def __iter__(self) -> Iterator[_T]: ... method __getitem__ (line 806) | def __getitem__(self, i: SupportsIndex, /) -> _T: ... method __getitem__ (line 808) | def __getitem__(self, s: slice[SupportsIndex | None], /) -> list[_T]: ... method __setitem__ (line 810) | def __setitem__(self, key: SupportsIndex, value: _T, /) -> None: ... method __setitem__ (line 812) | def __setitem__(self, key: slice[SupportsIndex | None], value: Iterabl... method __delitem__ (line 813) | def __delitem__(self, key: SupportsIndex | slice[SupportsIndex | None]... method __add__ (line 815) | def __add__(self, value: list[_T], /) -> list[_T]: ... method __add__ (line 817) | def __add__(self, value: list[_S], /) -> list[_S | _T]: ... method __iadd__ (line 818) | def __iadd__(self, value: Iterable[_T], /) -> Self: ... method __mul__ (line 819) | def __mul__(self, value: SupportsIndex, /) -> list[_T]: ... method __rmul__ (line 820) | def __rmul__(self, value: SupportsIndex, /) -> list[_T]: ... method __imul__ (line 821) | def __imul__(self, value: SupportsIndex, /) -> Self: ... method __contains__ (line 822) | def __contains__(self, key: object, /) -> bool: ... method __reversed__ (line 823) | def __reversed__(self) -> Iterator[_T]: ... method __gt__ (line 824) | def __gt__(self, value: list[_T], /) -> bool: ... method __ge__ (line 825) | def __ge__(self, value: list[_T], /) -> bool: ... method __lt__ (line 826) | def __lt__(self, value: list[_T], /) -> bool: ... method __le__ (line 827) | def __le__(self, value: list[_T], /) -> bool: ... method __eq__ (line 828) | def __eq__(self, value: object, /) -> bool: ... method __class_getitem__ (line 829) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class dict (line 832) | class dict(MutableMapping[_KT, _VT]): method __init__ (line 834) | def __init__(self, /) -> None: ... method __init__ (line 836) | def __init__(self: dict[str, _VT], /, **kwargs: _VT) -> None: ... method __init__ (line 838) | def __init__(self, map: SupportsKeysAndGetItem[_KT, _VT], /) -> None: ... method __init__ (line 840) | def __init__(self: dict[str, _VT], map: SupportsKeysAndGetItem[str, _V... method __init__ (line 842) | def __init__(self, iterable: Iterable[tuple[_KT, _VT]], /) -> None: ... method __init__ (line 844) | def __init__(self: dict[str, _VT], iterable: Iterable[tuple[str, _VT]]... method __init__ (line 846) | def __init__(self: dict[str, str], iterable: Iterable[list[str]], /) -... method __init__ (line 848) | def __init__(self: dict[bytes, bytes], iterable: Iterable[list[bytes]]... method __new__ (line 849) | def __new__(cls, /, *args: Any, **kwargs: Any) -> Self: ... method copy (line 850) | def copy(self) -> dict[_KT, _VT]: ... method keys (line 851) | def keys(self) -> dict_keys[_KT, _VT]: ... method values (line 852) | def values(self) -> dict_values[_KT, _VT]: ... method items (line 853) | def items(self) -> dict_items[_KT, _VT]: ... method fromkeys (line 856) | def fromkeys(cls, iterable: Iterable[_T], value: None = None, /) -> di... method fromkeys (line 859) | def fromkeys(cls, iterable: Iterable[_T], value: _S, /) -> dict[_T, _S... method get (line 861) | def get(self, key: _KT, default: None = None, /) -> _VT | None: ... method get (line 863) | def get(self, key: _KT, default: _VT, /) -> _VT: ... method get (line 865) | def get(self, key: _KT, default: _T, /) -> _VT | _T: ... method pop (line 867) | def pop(self, key: _KT, /) -> _VT: ... method pop (line 869) | def pop(self, key: _KT, default: _VT, /) -> _VT: ... method pop (line 871) | def pop(self, key: _KT, default: _T, /) -> _VT | _T: ... method __len__ (line 872) | def __len__(self) -> int: ... method __getitem__ (line 873) | def __getitem__(self, key: _KT, /) -> _VT: ... method __setitem__ (line 874) | def __setitem__(self, key: _KT, value: _VT, /) -> None: ... method __delitem__ (line 875) | def __delitem__(self, key: _KT, /) -> None: ... method __iter__ (line 876) | def __iter__(self) -> Iterator[_KT]: ... method __eq__ (line 877) | def __eq__(self, value: object, /) -> bool: ... method __reversed__ (line 878) | def __reversed__(self) -> Iterator[_KT]: ... method __class_getitem__ (line 881) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... method __or__ (line 883) | def __or__(self, value: dict[_KT, _VT], /) -> dict[_KT, _VT]: ... method __or__ (line 885) | def __or__(self, value: dict[_T1, _T2], /) -> dict[_KT | _T1, _VT | _T... method __ror__ (line 887) | def __ror__(self, value: dict[_KT, _VT], /) -> dict[_KT, _VT]: ... method __ror__ (line 889) | def __ror__(self, value: dict[_T1, _T2], /) -> dict[_KT | _T1, _VT | _... method __ior__ (line 891) | def __ior__(self, value: SupportsKeysAndGetItem[_KT, _VT], /) -> Self:... method __ior__ (line 893) | def __ior__(self, value: Iterable[tuple[_KT, _VT]], /) -> Self: ... class set (line 896) | class set(MutableSet[_T]): method __init__ (line 898) | def __init__(self) -> None: ... method __init__ (line 900) | def __init__(self, iterable: Iterable[_T], /) -> None: ... method add (line 901) | def add(self, element: _T, /) -> None: ... method copy (line 902) | def copy(self) -> set[_T]: ... method difference (line 903) | def difference(self, *s: Iterable[object]) -> set[_T]: ... method difference_update (line 904) | def difference_update(self, *s: Iterable[object]) -> None: ... method discard (line 905) | def discard(self, element: object, /) -> None: ... method intersection (line 906) | def intersection(self, *s: Iterable[object]) -> set[_T]: ... method intersection_update (line 907) | def intersection_update(self, *s: Iterable[object]) -> None: ... method isdisjoint (line 908) | def isdisjoint(self, s: Iterable[object], /) -> bool: ... method issubset (line 909) | def issubset(self, s: Iterable[object], /) -> bool: ... method issuperset (line 910) | def issuperset(self, s: Iterable[object], /) -> bool: ... method remove (line 911) | def remove(self, element: _T, /) -> None: ... method symmetric_difference (line 912) | def symmetric_difference(self, s: Iterable[_S], /) -> set[_T | _S]: ... method symmetric_difference_update (line 913) | def symmetric_difference_update(self, s: Iterable[_T], /) -> None: ... method union (line 914) | def union(self, *s: Iterable[_S]) -> set[_T | _S]: ... method update (line 915) | def update(self, *s: Iterable[_T]) -> None: ... method __len__ (line 916) | def __len__(self) -> int: ... method __contains__ (line 917) | def __contains__(self, o: object, /) -> bool: ... method __iter__ (line 918) | def __iter__(self) -> Iterator[_T]: ... method __and__ (line 919) | def __and__(self, value: AbstractSet[object], /) -> set[_T]: ... method __iand__ (line 920) | def __iand__(self, value: AbstractSet[object], /) -> Self: ... method __or__ (line 921) | def __or__(self, value: AbstractSet[_S], /) -> set[_T | _S]: ... method __ior__ (line 922) | def __ior__(self, value: AbstractSet[_T], /) -> Self: ... method __sub__ (line 923) | def __sub__(self, value: AbstractSet[object], /) -> set[_T]: ... method __isub__ (line 924) | def __isub__(self, value: AbstractSet[object], /) -> Self: ... method __xor__ (line 925) | def __xor__(self, value: AbstractSet[_S], /) -> set[_T | _S]: ... method __ixor__ (line 926) | def __ixor__(self, value: AbstractSet[_T], /) -> Self: ... method __le__ (line 927) | def __le__(self, value: AbstractSet[object], /) -> bool: ... method __lt__ (line 928) | def __lt__(self, value: AbstractSet[object], /) -> bool: ... method __ge__ (line 929) | def __ge__(self, value: AbstractSet[object], /) -> bool: ... method __gt__ (line 930) | def __gt__(self, value: AbstractSet[object], /) -> bool: ... method __eq__ (line 931) | def __eq__(self, value: object, /) -> bool: ... method __class_getitem__ (line 934) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class frozenset (line 937) | class frozenset(AbstractSet[_T_co]): method __new__ (line 939) | def __new__(cls) -> Self: ... method __new__ (line 941) | def __new__(cls, iterable: Iterable[_T_co], /) -> Self: ... method copy (line 942) | def copy(self) -> frozenset[_T_co]: ... method difference (line 943) | def difference(self, *s: Iterable[object]) -> frozenset[_T_co]: ... method intersection (line 944) | def intersection(self, *s: Iterable[object]) -> frozenset[_T_co]: ... method isdisjoint (line 945) | def isdisjoint(self, s: Iterable[object], /) -> bool: ... method issubset (line 946) | def issubset(self, s: Iterable[object], /) -> bool: ... method issuperset (line 947) | def issuperset(self, s: Iterable[object], /) -> bool: ... method symmetric_difference (line 948) | def symmetric_difference(self, s: Iterable[_S], /) -> frozenset[_T_co ... method union (line 949) | def union(self, *s: Iterable[_S]) -> frozenset[_T_co | _S]: ... method __len__ (line 950) | def __len__(self) -> int: ... method __contains__ (line 951) | def __contains__(self, o: object, /) -> bool: ... method __iter__ (line 952) | def __iter__(self) -> Iterator[_T_co]: ... method __and__ (line 953) | def __and__(self, value: AbstractSet[object], /) -> frozenset[_T_co]: ... method __or__ (line 954) | def __or__(self, value: AbstractSet[_S], /) -> frozenset[_T_co | _S]: ... method __sub__ (line 955) | def __sub__(self, value: AbstractSet[object], /) -> frozenset[_T_co]: ... method __xor__ (line 956) | def __xor__(self, value: AbstractSet[_S], /) -> frozenset[_T_co | _S]:... method __le__ (line 957) | def __le__(self, value: AbstractSet[object], /) -> bool: ... method __lt__ (line 958) | def __lt__(self, value: AbstractSet[object], /) -> bool: ... method __ge__ (line 959) | def __ge__(self, value: AbstractSet[object], /) -> bool: ... method __gt__ (line 960) | def __gt__(self, value: AbstractSet[object], /) -> bool: ... method __eq__ (line 961) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 962) | def __hash__(self) -> int: ... method __class_getitem__ (line 963) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class enumerate (line 966) | class enumerate(Generic[_T]): method __new__ (line 967) | def __new__(cls, iterable: Iterable[_T], start: int = 0) -> Self: ... method __iter__ (line 968) | def __iter__(self) -> Self: ... method __next__ (line 969) | def __next__(self) -> tuple[int, _T]: ... method __class_getitem__ (line 970) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class range (line 973) | class range(Sequence[int]): method start (line 975) | def start(self) -> int: ... method stop (line 977) | def stop(self) -> int: ... method step (line 979) | def step(self) -> int: ... method __new__ (line 981) | def __new__(cls, stop: SupportsIndex, /) -> Self: ... method __new__ (line 983) | def __new__(cls, start: SupportsIndex, stop: SupportsIndex, step: Supp... method count (line 984) | def count(self, value: int, /) -> int: ... method index (line 985) | def index(self, value: int, /) -> int: ... method __len__ (line 986) | def __len__(self) -> int: ... method __eq__ (line 987) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 988) | def __hash__(self) -> int: ... method __contains__ (line 989) | def __contains__(self, key: object, /) -> bool: ... method __iter__ (line 990) | def __iter__(self) -> Iterator[int]: ... method __getitem__ (line 992) | def __getitem__(self, key: SupportsIndex, /) -> int: ... method __getitem__ (line 994) | def __getitem__(self, key: slice[SupportsIndex | None], /) -> range: ... method __reversed__ (line 995) | def __reversed__(self) -> Iterator[int]: ... class property (line 998) | class property: method __init__ (line 1006) | def __init__( method getter (line 1013) | def getter(self, fget: Callable[[Any], Any], /) -> property: ... method setter (line 1014) | def setter(self, fset: Callable[[Any, Any], None], /) -> property: ... method deleter (line 1015) | def deleter(self, fdel: Callable[[Any], None], /) -> property: ... method __get__ (line 1017) | def __get__(self, instance: None, owner: type, /) -> Self: ... method __get__ (line 1019) | def __get__(self, instance: Any, owner: type | None = None, /) -> Any:... method __set__ (line 1020) | def __set__(self, instance: Any, value: Any, /) -> None: ... method __delete__ (line 1021) | def __delete__(self, instance: Any, /) -> None: ... function abs (line 1023) | def abs(x: SupportsAbs[_T], /) -> _T: ... function all (line 1024) | def all(iterable: Iterable[object], /) -> bool: ... function any (line 1025) | def any(iterable: Iterable[object], /) -> bool: ... function bin (line 1026) | def bin(number: SupportsIndex, /) -> str: ... function chr (line 1027) | def chr(i: SupportsIndex, /) -> str: ... class _SupportsSynchronousAnext (line 1031) | class _SupportsSynchronousAnext(Protocol[_AwaitableT_co]): method __anext__ (line 1032) | def __anext__(self) -> _AwaitableT_co: ... function divmod (line 1038) | def divmod(x: SupportsDivMod[_T_contra, _T_co], y: _T_contra, /) -> _T_c... function divmod (line 1040) | def divmod(x: _T_contra, y: SupportsRDivMod[_T_contra, _T_co], /) -> _T_... function hash (line 1044) | def hash(obj: object, /) -> int: ... function hex (line 1048) | def hex(number: SupportsIndex, /) -> str: ... function id (line 1049) | def id(obj: object, /) -> int: ... class _GetItemIterable (line 1051) | class _GetItemIterable(Protocol[_T_co]): method __getitem__ (line 1052) | def __getitem__(self, i: int, /) -> _T_co: ... function isinstance (line 1059) | def isinstance(obj: object, class_or_tuple: _ClassInfo, /) -> bool: ... function len (line 1060) | def len(obj: Sized, /) -> int: ... function max (line 1065) | def max( function max (line 1069) | def max(arg1: _T, arg2: _T, /, *_args: _T, key: Callable[[_T], SupportsR... function max (line 1071) | def max(iterable: Iterable[SupportsRichComparisonT], /, *, key: None = N... function max (line 1073) | def max(iterable: Iterable[_T], /, *, key: Callable[[_T], SupportsRichCo... function max (line 1075) | def max( function max (line 1079) | def max(iterable: Iterable[_T1], /, *, key: Callable[[_T1], SupportsRich... function min (line 1081) | def min( function min (line 1085) | def min(arg1: _T, arg2: _T, /, *_args: _T, key: Callable[[_T], SupportsR... function min (line 1087) | def min(iterable: Iterable[SupportsRichComparisonT], /, *, key: None = N... function min (line 1089) | def min(iterable: Iterable[_T], /, *, key: Callable[[_T], SupportsRichCo... function min (line 1091) | def min( function min (line 1095) | def min(iterable: Iterable[_T1], /, *, key: Callable[[_T1], SupportsRich... function oct (line 1096) | def oct(number: SupportsIndex, /) -> str: ... function ord (line 1100) | def ord(c: str | bytes | bytearray, /) -> int: ... class _SupportsWriteAndFlush (line 1102) | class _SupportsWriteAndFlush(SupportsWrite[_T_contra], SupportsFlush, Pr... function print (line 1105) | def print( function print (line 1113) | def print( class _SupportsPow2 (line 1125) | class _SupportsPow2(Protocol[_E_contra, _T_co]): method __pow__ (line 1126) | def __pow__(self, other: _E_contra, /) -> _T_co: ... class _SupportsPow3NoneOnly (line 1129) | class _SupportsPow3NoneOnly(Protocol[_E_contra, _T_co]): method __pow__ (line 1130) | def __pow__(self, other: _E_contra, modulo: None = None, /) -> _T_co: ... class _SupportsPow3 (line 1133) | class _SupportsPow3(Protocol[_E_contra, _M_contra, _T_co]): method __pow__ (line 1134) | def __pow__(self, other: _E_contra, modulo: _M_contra, /) -> _T_co: ... function pow (line 1139) | def pow(base: int, exp: int, mod: int) -> int: ... function pow (line 1141) | def pow(base: int, exp: Literal[0], mod: None = None) -> Literal[1]: ... function pow (line 1143) | def pow(base: int, exp: _PositiveInteger, mod: None = None) -> int: ... function pow (line 1145) | def pow(base: int, exp: _NegativeInteger, mod: None = None) -> float: ... function pow (line 1147) | def pow(base: int, exp: int, mod: None = None) -> Any: ... function pow (line 1149) | def pow(base: _PositiveInteger, exp: float, mod: None = None) -> float: ... function pow (line 1151) | def pow(base: _NegativeInteger, exp: float, mod: None = None) -> complex... function pow (line 1153) | def pow(base: float, exp: int, mod: None = None) -> float: ... function pow (line 1155) | def pow(base: float, exp: complex | _SupportsSomeKindOfPow, mod: None = ... function pow (line 1157) | def pow(base: complex, exp: complex | _SupportsSomeKindOfPow, mod: None ... function pow (line 1159) | def pow(base: _SupportsPow2[_E_contra, _T_co], exp: _E_contra, mod: None... function pow (line 1161) | def pow(base: _SupportsPow3NoneOnly[_E_contra, _T_co], exp: _E_contra, m... function pow (line 1163) | def pow(base: _SupportsPow3[_E_contra, _M_contra, _T_co], exp: _E_contra... function pow (line 1165) | def pow(base: _SupportsSomeKindOfPow, exp: float, mod: None = None) -> A... function pow (line 1167) | def pow(base: _SupportsSomeKindOfPow, exp: complex, mod: None = None) ->... class reversed (line 1172) | class reversed(Generic[_T]): method __new__ (line 1174) | def __new__(cls, sequence: Reversible[_T], /) -> Iterator[_T]: ... method __new__ (line 1176) | def __new__(cls, sequence: SupportsLenAndGetItem[_T], /) -> Iterator[_... method __iter__ (line 1177) | def __iter__(self) -> Self: ... method __next__ (line 1178) | def __next__(self) -> _T: ... method __length_hint__ (line 1179) | def __length_hint__(self) -> int: ... function repr (line 1181) | def repr(obj: object, /) -> str: ... class _SupportsRound1 (line 1183) | class _SupportsRound1(Protocol[_T_co]): method __round__ (line 1184) | def __round__(self) -> _T_co: ... class _SupportsRound2 (line 1187) | class _SupportsRound2(Protocol[_T_co]): method __round__ (line 1188) | def __round__(self, ndigits: int, /) -> _T_co: ... function round (line 1191) | def round(number: _SupportsRound1[_T], ndigits: None = None) -> _T: ... function round (line 1193) | def round(number: _SupportsRound2[_T], ndigits: SupportsIndex) -> _T: ... function sorted (line 1195) | def sorted( function sorted (line 1199) | def sorted( class _SupportsSumWithNoDefaultGiven (line 1207) | class _SupportsSumWithNoDefaultGiven(SupportsAdd[Any, Any], SupportsRAdd... function sum (line 1212) | def sum(iterable: Iterable[bool | _LiteralInteger], /, start: int = 0) -... function sum (line 1214) | def sum(iterable: Iterable[_SupportsSumNoDefaultT], /) -> _SupportsSumNo... function sum (line 1216) | def sum(iterable: Iterable[_AddableT1], /, start: _AddableT2) -> _Addabl... class zip (line 1218) | class zip(Generic[_T_co]): method __new__ (line 1221) | def __new__(cls, *, strict: bool = False) -> zip[Any]: ... method __new__ (line 1223) | def __new__(cls, iter1: Iterable[_T1], /, *, strict: bool = False) -> ... method __new__ (line 1225) | def __new__( method __new__ (line 1229) | def __new__( method __new__ (line 1233) | def __new__( method __new__ (line 1244) | def __new__( method __new__ (line 1256) | def __new__( method __new__ (line 1270) | def __new__(cls) -> zip[Any]: ... method __new__ (line 1272) | def __new__(cls, iter1: Iterable[_T1], /) -> zip[tuple[_T1]]: ... method __new__ (line 1274) | def __new__(cls, iter1: Iterable[_T1], iter2: Iterable[_T2], /) -> zip... method __new__ (line 1276) | def __new__( method __new__ (line 1280) | def __new__( method __new__ (line 1284) | def __new__( method __new__ (line 1294) | def __new__( method __iter__ (line 1306) | def __iter__(self) -> Self: ... method __next__ (line 1307) | def __next__(self) -> _T_co: ... class _NotImplementedType (line 1320) | class _NotImplementedType(Any): ... class BaseException (line 1325) | class BaseException: method __init__ (line 1332) | def __init__(self, *args: object) -> None: ... method __new__ (line 1333) | def __new__(cls, *args: Any, **kwds: Any) -> Self: ... method __setstate__ (line 1334) | def __setstate__(self, state: dict[str, Any] | None, /) -> None: ... method with_traceback (line 1335) | def with_traceback(self, tb: TracebackType | None, /) -> Self: ... method __str__ (line 1336) | def __str__(self) -> str: ... method __repr__ (line 1337) | def __repr__(self) -> str: ... method add_note (line 1341) | def add_note(self, note: str, /) -> None: ... class KeyboardInterrupt (line 1343) | class KeyboardInterrupt(BaseException): ... class SystemExit (line 1346) | class SystemExit(BaseException): class Exception (line 1349) | class Exception(BaseException): ... class StopIteration (line 1352) | class StopIteration(Exception): class OSError (line 1356) | class OSError(Exception): class ArithmeticError (line 1369) | class ArithmeticError(Exception): ... class AssertionError (line 1370) | class AssertionError(Exception): ... class AttributeError (line 1374) | class AttributeError(Exception): method __init__ (line 1375) | def __init__(self, *args: object, name: str | None = None, obj: object... class AttributeError (line 1380) | class AttributeError(Exception): ... method __init__ (line 1375) | def __init__(self, *args: object, name: str | None = None, obj: object... class LookupError (line 1382) | class LookupError(Exception): ... class MemoryError (line 1383) | class MemoryError(Exception): ... class NameError (line 1387) | class NameError(Exception): method __init__ (line 1388) | def __init__(self, *args: object, name: str | None = None) -> None: ... class NameError (line 1392) | class NameError(Exception): ... method __init__ (line 1388) | def __init__(self, *args: object, name: str | None = None) -> None: ... class RuntimeError (line 1394) | class RuntimeError(Exception): ... class SyntaxError (line 1397) | class SyntaxError(Exception): method __init__ (line 1409) | def __init__(self) -> None: ... method __init__ (line 1411) | def __init__(self, msg: object, /) -> None: ... method __init__ (line 1413) | def __init__(self, msg: str, info: tuple[str | None, int | None, int |... method __init__ (line 1416) | def __init__( class TypeError (line 1420) | class TypeError(Exception): ... class ValueError (line 1421) | class ValueError(Exception): ... class OverflowError (line 1422) | class OverflowError(ArithmeticError): ... class ZeroDivisionError (line 1423) | class ZeroDivisionError(ArithmeticError): ... class IndexError (line 1424) | class IndexError(LookupError): ... class KeyError (line 1425) | class KeyError(LookupError): ... class TimeoutError (line 1426) | class TimeoutError(OSError): ... class NotImplementedError (line 1427) | class NotImplementedError(RuntimeError): ... class RecursionError (line 1428) | class RecursionError(RuntimeError): ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/collections/__init__.pyi function namedtuple (line 47) | def namedtuple( class UserDict (line 56) | class UserDict(MutableMapping[_KT, _VT]): method __init__ (line 60) | def __init__(self, dict: None = None, /) -> None: ... method __init__ (line 62) | def __init__( method __init__ (line 69) | def __init__(self, dict: SupportsKeysAndGetItem[_KT, _VT], /) -> None:... method __init__ (line 71) | def __init__( method __init__ (line 78) | def __init__(self, iterable: Iterable[tuple[_KT, _VT]], /) -> None: ... method __init__ (line 80) | def __init__( method __init__ (line 87) | def __init__(self: UserDict[str, str], iterable: Iterable[list[str]], ... method __init__ (line 89) | def __init__(self: UserDict[bytes, bytes], iterable: Iterable[list[byt... method __len__ (line 90) | def __len__(self) -> int: ... method __getitem__ (line 91) | def __getitem__(self, key: _KT) -> _VT: ... method __setitem__ (line 92) | def __setitem__(self, key: _KT, item: _VT) -> None: ... method __delitem__ (line 93) | def __delitem__(self, key: _KT) -> None: ... method __iter__ (line 94) | def __iter__(self) -> Iterator[_KT]: ... method __contains__ (line 95) | def __contains__(self, key: object) -> bool: ... method copy (line 96) | def copy(self) -> Self: ... method __copy__ (line 97) | def __copy__(self) -> Self: ... method fromkeys (line 104) | def fromkeys(cls, iterable: Iterable[_T], value: None = None) -> UserD... method fromkeys (line 107) | def fromkeys(cls, iterable: Iterable[_T], value: _S) -> UserDict[_T, _... method __or__ (line 109) | def __or__(self, other: UserDict[_KT, _VT] | dict[_KT, _VT]) -> Self: ... method __or__ (line 111) | def __or__(self, other: UserDict[_T1, _T2] | dict[_T1, _T2]) -> UserDi... method __ror__ (line 113) | def __ror__(self, other: UserDict[_KT, _VT] | dict[_KT, _VT]) -> Self:... method __ror__ (line 115) | def __ror__(self, other: UserDict[_T1, _T2] | dict[_T1, _T2]) -> UserD... method __ior__ (line 118) | def __ior__(self, other: SupportsKeysAndGetItem[_KT, _VT]) -> Self: ... method __ior__ (line 120) | def __ior__(self, other: Iterable[tuple[_KT, _VT]]) -> Self: ... method get (line 123) | def get(self, key: _KT, default: None = None) -> _VT | None: ... method get (line 125) | def get(self, key: _KT, default: _VT) -> _VT: ... method get (line 127) | def get(self, key: _KT, default: _T) -> _VT | _T: ... class UserList (line 129) | class UserList(MutableSequence[_T]): method __init__ (line 132) | def __init__(self, initlist: None = None) -> None: ... method __init__ (line 134) | def __init__(self, initlist: Iterable[_T]) -> None: ... method __lt__ (line 136) | def __lt__(self, other: list[_T] | UserList[_T]) -> bool: ... method __le__ (line 137) | def __le__(self, other: list[_T] | UserList[_T]) -> bool: ... method __gt__ (line 138) | def __gt__(self, other: list[_T] | UserList[_T]) -> bool: ... method __ge__ (line 139) | def __ge__(self, other: list[_T] | UserList[_T]) -> bool: ... method __eq__ (line 140) | def __eq__(self, other: object) -> bool: ... method __contains__ (line 141) | def __contains__(self, item: object) -> bool: ... method __len__ (line 142) | def __len__(self) -> int: ... method __getitem__ (line 144) | def __getitem__(self, i: SupportsIndex) -> _T: ... method __getitem__ (line 146) | def __getitem__(self, i: slice[SupportsIndex | None]) -> Self: ... method __setitem__ (line 148) | def __setitem__(self, i: SupportsIndex, item: _T) -> None: ... method __setitem__ (line 150) | def __setitem__(self, i: slice[SupportsIndex | None], item: Iterable[_... method __delitem__ (line 151) | def __delitem__(self, i: SupportsIndex | slice[SupportsIndex | None]) ... method __add__ (line 152) | def __add__(self, other: Iterable[_T]) -> Self: ... method __radd__ (line 153) | def __radd__(self, other: Iterable[_T]) -> Self: ... method __iadd__ (line 154) | def __iadd__(self, other: Iterable[_T]) -> Self: ... method __mul__ (line 155) | def __mul__(self, n: int) -> Self: ... method __rmul__ (line 156) | def __rmul__(self, n: int) -> Self: ... method __imul__ (line 157) | def __imul__(self, n: int) -> Self: ... method append (line 158) | def append(self, item: _T) -> None: ... method insert (line 159) | def insert(self, i: int, item: _T) -> None: ... method pop (line 160) | def pop(self, i: int = -1) -> _T: ... method remove (line 161) | def remove(self, item: _T) -> None: ... method copy (line 162) | def copy(self) -> Self: ... method __copy__ (line 163) | def __copy__(self) -> Self: ... method count (line 164) | def count(self, item: _T) -> int: ... method index (line 168) | def index(self, item: _T, start: SupportsIndex = 0, stop: SupportsInde... method sort (line 171) | def sort(self: UserList[SupportsRichComparisonT], *, key: None = None,... method sort (line 173) | def sort(self, *, key: Callable[[_T], SupportsRichComparison], reverse... method extend (line 174) | def extend(self, other: Iterable[_T]) -> None: ... class UserString (line 176) | class UserString(Sequence[UserString]): method __init__ (line 178) | def __init__(self, seq: object) -> None: ... method __int__ (line 179) | def __int__(self) -> int: ... method __float__ (line 180) | def __float__(self) -> float: ... method __complex__ (line 181) | def __complex__(self) -> complex: ... method __getnewargs__ (line 182) | def __getnewargs__(self) -> tuple[str]: ... method __lt__ (line 183) | def __lt__(self, string: str | UserString) -> bool: ... method __le__ (line 184) | def __le__(self, string: str | UserString) -> bool: ... method __gt__ (line 185) | def __gt__(self, string: str | UserString) -> bool: ... method __ge__ (line 186) | def __ge__(self, string: str | UserString) -> bool: ... method __eq__ (line 187) | def __eq__(self, string: object) -> bool: ... method __hash__ (line 188) | def __hash__(self) -> int: ... method __contains__ (line 189) | def __contains__(self, char: object) -> bool: ... method __len__ (line 190) | def __len__(self) -> int: ... method __getitem__ (line 191) | def __getitem__(self, index: SupportsIndex | slice[SupportsIndex | Non... method __iter__ (line 192) | def __iter__(self) -> Iterator[Self]: ... method __reversed__ (line 193) | def __reversed__(self) -> Iterator[Self]: ... method __add__ (line 194) | def __add__(self, other: object) -> Self: ... method __radd__ (line 195) | def __radd__(self, other: object) -> Self: ... method __mul__ (line 196) | def __mul__(self, n: int) -> Self: ... method __rmul__ (line 197) | def __rmul__(self, n: int) -> Self: ... method __mod__ (line 198) | def __mod__(self, args: Any) -> Self: ... method __rmod__ (line 199) | def __rmod__(self, template: object) -> Self: ... method capitalize (line 200) | def capitalize(self) -> Self: ... method casefold (line 201) | def casefold(self) -> Self: ... method center (line 202) | def center(self, width: int, *args: Any) -> Self: ... method count (line 203) | def count(self, sub: str | UserString, start: int = 0, end: int = sys.... method encode (line 204) | def encode(self: UserString, encoding: str | None = 'utf-8', errors: s... method endswith (line 205) | def endswith(self, suffix: str | tuple[str, ...], start: int | None = ... method expandtabs (line 206) | def expandtabs(self, tabsize: int = 8) -> Self: ... method find (line 207) | def find(self, sub: str | UserString, start: int = 0, end: int = sys.m... method format (line 208) | def format(self, *args: Any, **kwds: Any) -> str: ... method format_map (line 209) | def format_map(self, mapping: Mapping[str, Any]) -> str: ... method index (line 210) | def index(self, sub: str, start: int = 0, end: int = sys.maxsize) -> i... method isalpha (line 211) | def isalpha(self) -> bool: ... method isalnum (line 212) | def isalnum(self) -> bool: ... method isdecimal (line 213) | def isdecimal(self) -> bool: ... method isdigit (line 214) | def isdigit(self) -> bool: ... method isidentifier (line 215) | def isidentifier(self) -> bool: ... method islower (line 216) | def islower(self) -> bool: ... method isnumeric (line 217) | def isnumeric(self) -> bool: ... method isprintable (line 218) | def isprintable(self) -> bool: ... method isspace (line 219) | def isspace(self) -> bool: ... method istitle (line 220) | def istitle(self) -> bool: ... method isupper (line 221) | def isupper(self) -> bool: ... method isascii (line 222) | def isascii(self) -> bool: ... method join (line 223) | def join(self, seq: Iterable[str]) -> str: ... method ljust (line 224) | def ljust(self, width: int, *args: Any) -> Self: ... method lower (line 225) | def lower(self) -> Self: ... method lstrip (line 226) | def lstrip(self, chars: str | None = None) -> Self: ... method partition (line 228) | def partition(self, sep: str) -> tuple[str, str, str]: ... method removeprefix (line 229) | def removeprefix(self, prefix: str | UserString, /) -> Self: ... method removesuffix (line 230) | def removesuffix(self, suffix: str | UserString, /) -> Self: ... method replace (line 231) | def replace(self, old: str | UserString, new: str | UserString, maxspl... method rfind (line 232) | def rfind(self, sub: str | UserString, start: int = 0, end: int = sys.... method rindex (line 233) | def rindex(self, sub: str | UserString, start: int = 0, end: int = sys... method rjust (line 234) | def rjust(self, width: int, *args: Any) -> Self: ... method rpartition (line 235) | def rpartition(self, sep: str) -> tuple[str, str, str]: ... method rstrip (line 236) | def rstrip(self, chars: str | None = None) -> Self: ... method split (line 237) | def split(self, sep: str | None = None, maxsplit: int = -1) -> list[st... method rsplit (line 238) | def rsplit(self, sep: str | None = None, maxsplit: int = -1) -> list[s... method splitlines (line 239) | def splitlines(self, keepends: bool = False) -> list[str]: ... method startswith (line 240) | def startswith( method strip (line 243) | def strip(self, chars: str | None = None) -> Self: ... method swapcase (line 244) | def swapcase(self) -> Self: ... method title (line 245) | def title(self) -> Self: ... method translate (line 246) | def translate(self, *args: Any) -> Self: ... method upper (line 247) | def upper(self) -> Self: ... method zfill (line 248) | def zfill(self, width: int) -> Self: ... class deque (line 251) | class deque(MutableSequence[_T]): method maxlen (line 253) | def maxlen(self) -> int | None: ... method __init__ (line 255) | def __init__(self, *, maxlen: int | None = None) -> None: ... method __init__ (line 257) | def __init__(self, iterable: Iterable[_T], maxlen: int | None = None) ... method append (line 258) | def append(self, x: _T, /) -> None: ... method appendleft (line 259) | def appendleft(self, x: _T, /) -> None: ... method copy (line 260) | def copy(self) -> Self: ... method count (line 261) | def count(self, x: _T, /) -> int: ... method extend (line 262) | def extend(self, iterable: Iterable[_T], /) -> None: ... method extendleft (line 263) | def extendleft(self, iterable: Iterable[_T], /) -> None: ... method insert (line 264) | def insert(self, i: int, x: _T, /) -> None: ... method index (line 265) | def index(self, x: _T, start: int = 0, stop: int = ..., /) -> int: ... method pop (line 266) | def pop(self) -> _T: ... # type: ignore[override] method popleft (line 267) | def popleft(self) -> _T: ... method remove (line 268) | def remove(self, value: _T, /) -> None: ... method rotate (line 269) | def rotate(self, n: int = 1, /) -> None: ... method __copy__ (line 270) | def __copy__(self) -> Self: ... method __len__ (line 271) | def __len__(self) -> int: ... method __getitem__ (line 274) | def __getitem__(self, key: SupportsIndex, /) -> _T: ... # type: ignor... method __setitem__ (line 275) | def __setitem__(self, key: SupportsIndex, value: _T, /) -> None: ... ... method __delitem__ (line 276) | def __delitem__(self, key: SupportsIndex, /) -> None: ... # type: ign... method __contains__ (line 277) | def __contains__(self, key: object, /) -> bool: ... method __reduce__ (line 278) | def __reduce__(self) -> tuple[type[Self], tuple[()], None, Iterator[_T... method __iadd__ (line 279) | def __iadd__(self, value: Iterable[_T], /) -> Self: ... method __add__ (line 280) | def __add__(self, value: Self, /) -> Self: ... method __mul__ (line 281) | def __mul__(self, value: int, /) -> Self: ... method __imul__ (line 282) | def __imul__(self, value: int, /) -> Self: ... method __lt__ (line 283) | def __lt__(self, value: deque[_T], /) -> bool: ... method __le__ (line 284) | def __le__(self, value: deque[_T], /) -> bool: ... method __gt__ (line 285) | def __gt__(self, value: deque[_T], /) -> bool: ... method __ge__ (line 286) | def __ge__(self, value: deque[_T], /) -> bool: ... method __eq__ (line 287) | def __eq__(self, value: object, /) -> bool: ... method __class_getitem__ (line 288) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class Counter (line 290) | class Counter(dict[_T, int], Generic[_T]): method __init__ (line 292) | def __init__(self, iterable: None = None, /) -> None: ... method __init__ (line 294) | def __init__(self: Counter[str], iterable: None = None, /, **kwargs: i... method __init__ (line 296) | def __init__(self, mapping: SupportsKeysAndGetItem[_T, int], /) -> Non... method __init__ (line 298) | def __init__(self, iterable: Iterable[_T], /) -> None: ... method copy (line 299) | def copy(self) -> Self: ... method elements (line 300) | def elements(self) -> Iterator[_T]: ... method most_common (line 301) | def most_common(self, n: int | None = None) -> list[tuple[_T, int]]: ... method fromkeys (line 303) | def fromkeys(cls, iterable: Any, v: int | None = None) -> NoReturn: ..... method subtract (line 305) | def subtract(self, iterable: None = None, /) -> None: ... method subtract (line 307) | def subtract(self, mapping: Mapping[_T, int], /) -> None: ... method subtract (line 309) | def subtract(self, iterable: Iterable[_T], /) -> None: ... method update (line 317) | def update(self, m: Mapping[_T, int], /, **kwargs: int) -> None: ... method update (line 319) | def update(self, iterable: Iterable[_T], /, **kwargs: int) -> None: ... method update (line 321) | def update(self, iterable: None = None, /, **kwargs: int) -> None: ... method __missing__ (line 322) | def __missing__(self, key: _T) -> int: ... method __delitem__ (line 323) | def __delitem__(self, elem: object) -> None: ... method __eq__ (line 325) | def __eq__(self, other: object) -> bool: ... method __ne__ (line 326) | def __ne__(self, other: object) -> bool: ... method __add__ (line 328) | def __add__(self, other: Counter[_S]) -> Counter[_T | _S]: ... method __sub__ (line 329) | def __sub__(self, other: Counter[_T]) -> Counter[_T]: ... method __and__ (line 330) | def __and__(self, other: Counter[_T]) -> Counter[_T]: ... method __or__ (line 331) | def __or__(self, other: Counter[_S]) -> Counter[_T | _S]: ... # type:... method __pos__ (line 332) | def __pos__(self) -> Counter[_T]: ... method __neg__ (line 333) | def __neg__(self) -> Counter[_T]: ... method __iadd__ (line 335) | def __iadd__(self, other: SupportsItems[_T, int]) -> Self: ... # type... method __isub__ (line 336) | def __isub__(self, other: SupportsItems[_T, int]) -> Self: ... method __iand__ (line 337) | def __iand__(self, other: SupportsItems[_T, int]) -> Self: ... method __ior__ (line 338) | def __ior__(self, other: SupportsItems[_T, int]) -> Self: ... # type:... method total (line 340) | def total(self) -> int: ... method __le__ (line 341) | def __le__(self, other: Counter[Any]) -> bool: ... method __lt__ (line 342) | def __lt__(self, other: Counter[Any]) -> bool: ... method __ge__ (line 343) | def __ge__(self, other: Counter[Any]) -> bool: ... method __gt__ (line 344) | def __gt__(self, other: Counter[Any]) -> bool: ... class _OrderedDictKeysView (line 348) | class _OrderedDictKeysView(KeysView[_KT_co]): method __reversed__ (line 349) | def __reversed__(self) -> Iterator[_KT_co]: ... class _OrderedDictItemsView (line 351) | class _OrderedDictItemsView(ItemsView[_KT_co, _VT_co]): method __reversed__ (line 352) | def __reversed__(self) -> Iterator[tuple[_KT_co, _VT_co]]: ... class _OrderedDictValuesView (line 354) | class _OrderedDictValuesView(ValuesView[_VT_co]): method __reversed__ (line 355) | def __reversed__(self) -> Iterator[_VT_co]: ... class _odict_keys (line 363) | class _odict_keys(dict_keys[_KT_co, _VT_co]): # type: ignore[misc] # p... method __reversed__ (line 364) | def __reversed__(self) -> Iterator[_KT_co]: ... class _odict_items (line 368) | class _odict_items(dict_items[_KT_co, _VT_co]): # type: ignore[misc] #... method __reversed__ (line 369) | def __reversed__(self) -> Iterator[tuple[_KT_co, _VT_co]]: ... class _odict_values (line 373) | class _odict_values(dict_values[_KT_co, _VT_co]): # type: ignore[misc] ... method __reversed__ (line 374) | def __reversed__(self) -> Iterator[_VT_co]: ... class OrderedDict (line 377) | class OrderedDict(dict[_KT, _VT]): method popitem (line 378) | def popitem(self, last: bool = True) -> tuple[_KT, _VT]: ... method move_to_end (line 379) | def move_to_end(self, key: _KT, last: bool = True) -> None: ... method copy (line 380) | def copy(self) -> Self: ... method __reversed__ (line 381) | def __reversed__(self) -> Iterator[_KT]: ... method keys (line 382) | def keys(self) -> _odict_keys[_KT, _VT]: ... method items (line 383) | def items(self) -> _odict_items[_KT, _VT]: ... method values (line 384) | def values(self) -> _odict_values[_KT, _VT]: ... method fromkeys (line 390) | def fromkeys(cls, iterable: Iterable[_T], value: None = None) -> Order... method fromkeys (line 393) | def fromkeys(cls, iterable: Iterable[_T], value: _S) -> OrderedDict[_T... method setdefault (line 396) | def setdefault(self: OrderedDict[_KT, _T | None], key: _KT, default: N... method setdefault (line 398) | def setdefault(self, key: _KT, default: _VT) -> _VT: ... method pop (line 401) | def pop(self, key: _KT) -> _VT: ... method pop (line 403) | def pop(self, key: _KT, default: _VT) -> _VT: ... method pop (line 405) | def pop(self, key: _KT, default: _T) -> _VT | _T: ... method __eq__ (line 406) | def __eq__(self, value: object, /) -> bool: ... method __or__ (line 408) | def __or__(self, value: dict[_KT, _VT], /) -> Self: ... method __or__ (line 410) | def __or__(self, value: dict[_T1, _T2], /) -> OrderedDict[_KT | _T1, _... method __ror__ (line 412) | def __ror__(self, value: dict[_KT, _VT], /) -> Self: ... method __ror__ (line 414) | def __ror__(self, value: dict[_T1, _T2], /) -> OrderedDict[_KT | _T1, ... class defaultdict (line 417) | class defaultdict(dict[_KT, _VT]): method __init__ (line 420) | def __init__(self) -> None: ... method __init__ (line 422) | def __init__(self: defaultdict[str, _VT], **kwargs: _VT) -> None: ... ... method __init__ (line 424) | def __init__(self, default_factory: Callable[[], _VT] | None, /) -> No... method __init__ (line 426) | def __init__( method __init__ (line 433) | def __init__(self, default_factory: Callable[[], _VT] | None, map: Sup... method __init__ (line 435) | def __init__( method __init__ (line 443) | def __init__(self, default_factory: Callable[[], _VT] | None, iterable... method __init__ (line 445) | def __init__( method __missing__ (line 452) | def __missing__(self, key: _KT, /) -> _VT: ... method __copy__ (line 453) | def __copy__(self) -> Self: ... method copy (line 454) | def copy(self) -> Self: ... method __or__ (line 456) | def __or__(self, value: dict[_KT, _VT], /) -> Self: ... method __or__ (line 458) | def __or__(self, value: dict[_T1, _T2], /) -> defaultdict[_KT | _T1, _... method __ror__ (line 460) | def __ror__(self, value: dict[_KT, _VT], /) -> Self: ... method __ror__ (line 462) | def __ror__(self, value: dict[_T1, _T2], /) -> defaultdict[_KT | _T1, ... class ChainMap (line 464) | class ChainMap(MutableMapping[_KT, _VT]): method __init__ (line 466) | def __init__(self, *maps: MutableMapping[_KT, _VT]) -> None: ... method new_child (line 467) | def new_child(self, m: MutableMapping[_KT, _VT] | None = None) -> Self... method parents (line 469) | def parents(self) -> Self: ... method __setitem__ (line 470) | def __setitem__(self, key: _KT, value: _VT) -> None: ... method __delitem__ (line 471) | def __delitem__(self, key: _KT) -> None: ... method __getitem__ (line 472) | def __getitem__(self, key: _KT) -> _VT: ... method __iter__ (line 473) | def __iter__(self) -> Iterator[_KT]: ... method __len__ (line 474) | def __len__(self) -> int: ... method __contains__ (line 475) | def __contains__(self, key: object) -> bool: ... method get (line 477) | def get(self, key: _KT, default: None = None) -> _VT | None: ... method get (line 479) | def get(self, key: _KT, default: _VT) -> _VT: ... method get (line 481) | def get(self, key: _KT, default: _T) -> _VT | _T: ... method __missing__ (line 482) | def __missing__(self, key: _KT) -> _VT: ... # undocumented method __bool__ (line 483) | def __bool__(self) -> bool: ... method setdefault (line 486) | def setdefault(self: ChainMap[_KT, _T | None], key: _KT, default: None... method setdefault (line 488) | def setdefault(self, key: _KT, default: _VT) -> _VT: ... method pop (line 490) | def pop(self, key: _KT) -> _VT: ... method pop (line 492) | def pop(self, key: _KT, default: _VT) -> _VT: ... method pop (line 494) | def pop(self, key: _KT, default: _T) -> _VT | _T: ... method copy (line 495) | def copy(self) -> Self: ... method fromkeys (line 502) | def fromkeys(cls, iterable: Iterable[_T], /) -> ChainMap[_T, Any | Non... method fromkeys (line 506) | def fromkeys(cls, iterable: Iterable[_T]) -> ChainMap[_T, Any | None]:... method fromkeys (line 511) | def fromkeys(cls, iterable: Iterable[_T], value: None, /) -> ChainMap[... method fromkeys (line 514) | def fromkeys(cls, iterable: Iterable[_T], value: _S, /) -> ChainMap[_T... method __or__ (line 516) | def __or__(self, other: Mapping[_KT, _VT]) -> Self: ... method __or__ (line 518) | def __or__(self, other: Mapping[_T1, _T2]) -> ChainMap[_KT | _T1, _VT ... method __ror__ (line 520) | def __ror__(self, other: Mapping[_KT, _VT]) -> Self: ... method __ror__ (line 522) | def __ror__(self, other: Mapping[_T1, _T2]) -> ChainMap[_KT | _T1, _VT... method __ior__ (line 525) | def __ior__(self, other: SupportsKeysAndGetItem[_KT, _VT]) -> Self: ... method __ior__ (line 527) | def __ior__(self, other: Iterable[tuple[_KT, _VT]]) -> Self: ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/dataclasses.pyi class _DataclassFactory (line 36) | class _DataclassFactory(Protocol): method __call__ (line 37) | def __call__( class _MISSING_TYPE (line 59) | class _MISSING_TYPE(enum.Enum): class KW_ONLY (line 65) | class KW_ONLY: ... function asdict (line 68) | def asdict(obj: DataclassInstance) -> dict[str, Any]: ... function asdict (line 70) | def asdict(obj: DataclassInstance, *, dict_factory: Callable[[list[tuple... function astuple (line 72) | def astuple(obj: DataclassInstance) -> tuple[Any, ...]: ... function astuple (line 74) | def astuple(obj: DataclassInstance, *, tuple_factory: Callable[[list[Any... function dataclass (line 78) | def dataclass( function dataclass (line 94) | def dataclass( function dataclass (line 112) | def dataclass( function dataclass (line 127) | def dataclass( function dataclass (line 144) | def dataclass( function dataclass (line 156) | def dataclass( class _DefaultFactory (line 170) | class _DefaultFactory(Protocol[_T_co]): method __call__ (line 171) | def __call__(self) -> _T_co: ... class Field (line 173) | class Field(Generic[_T]): method __init__ (line 233) | def __init__( method __init__ (line 246) | def __init__( method __init__ (line 258) | def __init__( method __set_name__ (line 269) | def __set_name__(self, owner: Type[Any], name: str) -> None: ... method __class_getitem__ (line 270) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... function field (line 276) | def field( function field (line 289) | def field( function field (line 302) | def field( function field (line 317) | def field( function field (line 329) | def field( function field (line 341) | def field( function field (line 355) | def field( function field (line 366) | def field( function field (line 377) | def field( function fields (line 388) | def fields(class_or_instance: DataclassInstance | type[DataclassInstance... function is_dataclass (line 392) | def is_dataclass(obj: Never) -> TypeIs[DataclassInstance | type[Dataclas... function is_dataclass (line 394) | def is_dataclass(obj: type) -> TypeIs[type[DataclassInstance]]: ... function is_dataclass (line 396) | def is_dataclass(obj: object) -> TypeIs[DataclassInstance | type[Datacla... class FrozenInstanceError (line 398) | class FrozenInstanceError(AttributeError): ... class InitVar (line 400) | class InitVar(Generic[_T]): method __init__ (line 403) | def __init__(self, type: Type[_T]) -> None: ... method __class_getitem__ (line 405) | def __class_getitem__(cls, type: Type[_T]) -> InitVar[_T]: ... # pyri... method __class_getitem__ (line 407) | def __class_getitem__(cls, type: Any) -> InitVar[Any]: ... # pyright:... function make_dataclass (line 410) | def make_dataclass( function make_dataclass (line 431) | def make_dataclass( function make_dataclass (line 451) | def make_dataclass( function make_dataclass (line 470) | def make_dataclass( function make_dataclass (line 488) | def make_dataclass( function replace (line 502) | def replace(obj: _DataclassT, /, **changes: Any) -> _DataclassT: ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/enum.pyi class nonmember (line 60) | class nonmember(Generic[_EnumMemberT]): method __init__ (line 62) | def __init__(self, value: _EnumMemberT) -> None: ... class member (line 64) | class member(Generic[_EnumMemberT]): method __init__ (line 66) | def __init__(self, value: _EnumMemberT) -> None: ... class _EnumDict (line 68) | class _EnumDict(dict[str, Any]): method __init__ (line 70) | def __init__(self, cls_name: str | None = None) -> None: ... method __init__ (line 72) | def __init__(self) -> None: ... method __setitem__ (line 74) | def __setitem__(self, key: str, value: Any) -> None: ... method update (line 82) | def update(self, members: SupportsKeysAndGetItem[str, Any], **more_mem... method update (line 84) | def update(self, members: Iterable[tuple[str, Any]], **more_members: A... method member_names (line 87) | def member_names(self) -> list[str]: ... class EnumMeta (line 93) | class EnumMeta(type): method __new__ (line 95) | def __new__( method __new__ (line 106) | def __new__( method __prepare__ (line 111) | def __prepare__(metacls, cls: str, bases: tuple[type, ...], **kwds: An... method __iter__ (line 112) | def __iter__(self: type[_EnumMemberT]) -> Iterator[_EnumMemberT]: ... method __reversed__ (line 113) | def __reversed__(self: type[_EnumMemberT]) -> Iterator[_EnumMemberT]: ... method __contains__ (line 115) | def __contains__(self: type[Any], value: object) -> bool: ... method __contains__ (line 117) | def __contains__(self: type[Any], member: object) -> bool: ... method __contains__ (line 119) | def __contains__(self: type[Any], obj: object) -> bool: ... method __contains__ (line 121) | def __contains__(self: type[Any], member: object) -> bool: ... method __getitem__ (line 123) | def __getitem__(self: type[_EnumMemberT], name: str) -> _EnumMemberT: ... method __members__ (line 125) | def __members__(self: type[_EnumMemberT]) -> types.MappingProxyType[st... method __len__ (line 126) | def __len__(self) -> int: ... method __bool__ (line 127) | def __bool__(self) -> Literal[True]: ... method __dir__ (line 128) | def __dir__(self) -> list[str]: ... method __call__ (line 132) | def __call__(cls: type[_EnumMemberT], value: Any, names: None = None) ... method __call__ (line 137) | def __call__( method __call__ (line 150) | def __call__( method __call__ (line 170) | def __call__(cls: type[_EnumMemberT], value: Any, *values: Any) -> _En... method __signature__ (line 173) | def __signature__(cls) -> _Signature: ... class property (line 183) | class property(types.DynamicClassAttribute): method __set_name__ (line 184) | def __set_name__(self, ownerclass: type[Enum], name: str) -> None: ... class Enum (line 193) | class Enum(metaclass=EnumMeta): method name (line 195) | def name(self) -> str: ... method value (line 197) | def value(self) -> Any: ... method _missing_ (line 204) | def _missing_(cls, value: object) -> Any: ... method _generate_next_value_ (line 206) | def _generate_next_value_(name: str, start: int, count: int, last_valu... method __new__ (line 212) | def __new__(cls, value: object) -> Self: ... method __dir__ (line 213) | def __dir__(self) -> list[str]: ... method __hash__ (line 214) | def __hash__(self) -> int: ... method __format__ (line 215) | def __format__(self, format_spec: str) -> str: ... method __reduce_ex__ (line 216) | def __reduce_ex__(self, proto: Unused) -> tuple[Any, ...]: ... method __copy__ (line 218) | def __copy__(self) -> Self: ... method __deepcopy__ (line 219) | def __deepcopy__(self, memo: Any) -> Self: ... method __signature__ (line 222) | def __signature__(cls) -> str: ... method _add_value_alias_ (line 226) | def _add_value_alias_(self, value: Any) -> None: ... method _add_alias_ (line 227) | def _add_alias_(self, name: str) -> None: ... class ReprEnum (line 230) | class ReprEnum(Enum): ... class IntEnum (line 233) | class IntEnum(int, ReprEnum): method value (line 236) | def value(self) -> int: ... method __new__ (line 237) | def __new__(cls, value: int) -> Self: ... method value (line 249) | def value(self) -> int: ... method __new__ (line 250) | def __new__(cls, value: int) -> Self: ... class IntEnum (line 246) | class IntEnum(int, _IntEnumBase): method value (line 236) | def value(self) -> int: ... method __new__ (line 237) | def __new__(cls, value: int) -> Self: ... method value (line 249) | def value(self) -> int: ... method __new__ (line 250) | def __new__(cls, value: int) -> Self: ... function unique (line 252) | def unique(enumeration: _EnumerationT) -> _EnumerationT: ... class Flag (line 256) | class Flag(Enum): method name (line 261) | def name(self) -> str | None: ... # type: ignore[override] method value (line 263) | def value(self) -> int: ... method __contains__ (line 264) | def __contains__(self, other: Self) -> bool: ... method __bool__ (line 265) | def __bool__(self) -> bool: ... method __or__ (line 266) | def __or__(self, other: Self) -> Self: ... method __and__ (line 267) | def __and__(self, other: Self) -> Self: ... method __xor__ (line 268) | def __xor__(self, other: Self) -> Self: ... method __invert__ (line 269) | def __invert__(self) -> Self: ... method __iter__ (line 271) | def __iter__(self) -> Iterator[Self]: ... method __len__ (line 272) | def __len__(self) -> int: ... class StrEnum (line 278) | class StrEnum(str, ReprEnum): method __new__ (line 279) | def __new__(cls, value: str) -> Self: ... method value (line 282) | def value(self) -> str: ... method _generate_next_value_ (line 284) | def _generate_next_value_(name: str, start: int, count: int, last_valu... class EnumCheck (line 286) | class EnumCheck(StrEnum): class verify (line 295) | class verify: method __init__ (line 296) | def __init__(self, *checks: EnumCheck) -> None: ... method __call__ (line 297) | def __call__(self, enumeration: _EnumerationT) -> _EnumerationT: ... class FlagBoundary (line 299) | class FlagBoundary(StrEnum): function global_str (line 310) | def global_str(self: Enum) -> str: ... function global_enum (line 311) | def global_enum(cls: _EnumerationT, update_str: bool = False) -> _Enumer... function global_enum_repr (line 312) | def global_enum_repr(self: Enum) -> str: ... function global_flag_repr (line 313) | def global_flag_repr(self: Flag) -> str: ... function show_flag_values (line 314) | def show_flag_values(value: int) -> list[int]: ... function bin (line 315) | def bin(num: SupportsIndex, max_bits: int | None = None) -> str: ... class IntFlag (line 319) | class IntFlag(int, ReprEnum, Flag, boundary=KEEP): # type: ignore[misc]... method __new__ (line 320) | def __new__(cls, value: int) -> Self: ... method __or__ (line 321) | def __or__(self, other: int) -> Self: ... method __and__ (line 322) | def __and__(self, other: int) -> Self: ... method __xor__ (line 323) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 324) | def __invert__(self) -> Self: ... method __new__ (line 333) | def __new__(cls, value: int) -> Self: ... method __or__ (line 334) | def __or__(self, other: int) -> Self: ... method __and__ (line 335) | def __and__(self, other: int) -> Self: ... method __xor__ (line 336) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 337) | def __invert__(self) -> Self: ... method __new__ (line 345) | def __new__(cls, value: int) -> Self: ... method __or__ (line 346) | def __or__(self, other: int) -> Self: ... method __and__ (line 347) | def __and__(self, other: int) -> Self: ... method __xor__ (line 348) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 349) | def __invert__(self) -> Self: ... class IntFlag (line 332) | class IntFlag(int, ReprEnum, Flag, boundary=KEEP): # type: ignore[misc]... method __new__ (line 320) | def __new__(cls, value: int) -> Self: ... method __or__ (line 321) | def __or__(self, other: int) -> Self: ... method __and__ (line 322) | def __and__(self, other: int) -> Self: ... method __xor__ (line 323) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 324) | def __invert__(self) -> Self: ... method __new__ (line 333) | def __new__(cls, value: int) -> Self: ... method __or__ (line 334) | def __or__(self, other: int) -> Self: ... method __and__ (line 335) | def __and__(self, other: int) -> Self: ... method __xor__ (line 336) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 337) | def __invert__(self) -> Self: ... method __new__ (line 345) | def __new__(cls, value: int) -> Self: ... method __or__ (line 346) | def __or__(self, other: int) -> Self: ... method __and__ (line 347) | def __and__(self, other: int) -> Self: ... method __xor__ (line 348) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 349) | def __invert__(self) -> Self: ... class IntFlag (line 344) | class IntFlag(int, Flag): # type: ignore[misc] # complaints about inco... method __new__ (line 320) | def __new__(cls, value: int) -> Self: ... method __or__ (line 321) | def __or__(self, other: int) -> Self: ... method __and__ (line 322) | def __and__(self, other: int) -> Self: ... method __xor__ (line 323) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 324) | def __invert__(self) -> Self: ... method __new__ (line 333) | def __new__(cls, value: int) -> Self: ... method __or__ (line 334) | def __or__(self, other: int) -> Self: ... method __and__ (line 335) | def __and__(self, other: int) -> Self: ... method __xor__ (line 336) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 337) | def __invert__(self) -> Self: ... method __new__ (line 345) | def __new__(cls, value: int) -> Self: ... method __or__ (line 346) | def __or__(self, other: int) -> Self: ... method __and__ (line 347) | def __and__(self, other: int) -> Self: ... method __xor__ (line 348) | def __xor__(self, other: int) -> Self: ... method __invert__ (line 349) | def __invert__(self) -> Self: ... class auto (line 354) | class auto: method value (line 357) | def value(self) -> Any: ... method __new__ (line 358) | def __new__(cls) -> Self: ... method __or__ (line 365) | def __or__(self, other: int | Self) -> Self: ... method __and__ (line 366) | def __and__(self, other: int | Self) -> Self: ... method __xor__ (line 367) | def __xor__(self, other: int | Self) -> Self: ... function pickle_by_global_name (line 373) | def pickle_by_global_name(self: Enum, proto: int) -> str: ... function pickle_by_enum_name (line 374) | def pickle_by_enum_name( FILE: crates/monty-typeshed/vendor/typeshed/stdlib/math.pyi function acos (line 19) | def acos(x: _SupportsFloatOrIndex, /) -> float: ... function acosh (line 20) | def acosh(x: _SupportsFloatOrIndex, /) -> float: ... function asin (line 21) | def asin(x: _SupportsFloatOrIndex, /) -> float: ... function asinh (line 22) | def asinh(x: _SupportsFloatOrIndex, /) -> float: ... function atan (line 23) | def atan(x: _SupportsFloatOrIndex, /) -> float: ... function atan2 (line 24) | def atan2(y: _SupportsFloatOrIndex, x: _SupportsFloatOrIndex, /) -> floa... function atanh (line 25) | def atanh(x: _SupportsFloatOrIndex, /) -> float: ... function cbrt (line 28) | def cbrt(x: _SupportsFloatOrIndex, /) -> float: ... class _SupportsCeil (line 31) | class _SupportsCeil(Protocol[_T_co]): method __ceil__ (line 32) | def __ceil__(self) -> _T_co: ... function ceil (line 35) | def ceil(x: _SupportsCeil[_T], /) -> _T: ... function ceil (line 37) | def ceil(x: _SupportsFloatOrIndex, /) -> int: ... function comb (line 38) | def comb(n: SupportsIndex, k: SupportsIndex, /) -> int: ... function copysign (line 39) | def copysign(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> f... function cos (line 40) | def cos(x: _SupportsFloatOrIndex, /) -> float: ... function cosh (line 41) | def cosh(x: _SupportsFloatOrIndex, /) -> float: ... function degrees (line 42) | def degrees(x: _SupportsFloatOrIndex, /) -> float: ... function dist (line 43) | def dist(p: Iterable[_SupportsFloatOrIndex], q: Iterable[_SupportsFloatO... function erf (line 44) | def erf(x: _SupportsFloatOrIndex, /) -> float: ... function erfc (line 45) | def erfc(x: _SupportsFloatOrIndex, /) -> float: ... function exp (line 46) | def exp(x: _SupportsFloatOrIndex, /) -> float: ... function exp2 (line 49) | def exp2(x: _SupportsFloatOrIndex, /) -> float: ... function expm1 (line 51) | def expm1(x: _SupportsFloatOrIndex, /) -> float: ... function fabs (line 52) | def fabs(x: _SupportsFloatOrIndex, /) -> float: ... function factorial (line 53) | def factorial(x: SupportsIndex, /) -> int: ... class _SupportsFloor (line 55) | class _SupportsFloor(Protocol[_T_co]): method __floor__ (line 56) | def __floor__(self) -> _T_co: ... function floor (line 59) | def floor(x: _SupportsFloor[_T], /) -> _T: ... function floor (line 61) | def floor(x: _SupportsFloatOrIndex, /) -> int: ... function fmod (line 62) | def fmod(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> float... function frexp (line 63) | def frexp(x: _SupportsFloatOrIndex, /) -> tuple[float, int]: ... function fsum (line 64) | def fsum(seq: Iterable[_SupportsFloatOrIndex], /) -> float: ... function gamma (line 65) | def gamma(x: _SupportsFloatOrIndex, /) -> float: ... function gcd (line 66) | def gcd(*integers: SupportsIndex) -> int: ... function hypot (line 67) | def hypot(*coordinates: _SupportsFloatOrIndex) -> float: ... function isclose (line 68) | def isclose( function isinf (line 75) | def isinf(x: _SupportsFloatOrIndex, /) -> bool: ... function isfinite (line 76) | def isfinite(x: _SupportsFloatOrIndex, /) -> bool: ... function isnan (line 77) | def isnan(x: _SupportsFloatOrIndex, /) -> bool: ... function isqrt (line 78) | def isqrt(n: SupportsIndex, /) -> int: ... function lcm (line 79) | def lcm(*integers: SupportsIndex) -> int: ... function ldexp (line 80) | def ldexp(x: _SupportsFloatOrIndex, i: int, /) -> float: ... function lgamma (line 81) | def lgamma(x: _SupportsFloatOrIndex, /) -> float: ... function log (line 82) | def log(x: _SupportsFloatOrIndex, base: _SupportsFloatOrIndex = ...) -> ... function log10 (line 83) | def log10(x: _SupportsFloatOrIndex, /) -> float: ... function log1p (line 84) | def log1p(x: _SupportsFloatOrIndex, /) -> float: ... function log2 (line 85) | def log2(x: _SupportsFloatOrIndex, /) -> float: ... function modf (line 86) | def modf(x: _SupportsFloatOrIndex, /) -> tuple[float, float]: ... function nextafter (line 89) | def nextafter( function nextafter (line 94) | def nextafter(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> ... function perm (line 96) | def perm(n: SupportsIndex, k: SupportsIndex | None = None, /) -> int: ... function pow (line 97) | def pow(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> float:... class _SupportsProdWithNoDefaultGiven (line 111) | class _SupportsProdWithNoDefaultGiven(SupportsMul[Any, Any], SupportsRMu... function prod (line 121) | def prod(iterable: Iterable[bool | _LiteralInteger], /, *, start: int = ... function prod (line 123) | def prod(iterable: Iterable[_SupportsProdNoDefaultT], /) -> _SupportsPro... function prod (line 125) | def prod( function radians (line 128) | def radians(x: _SupportsFloatOrIndex, /) -> float: ... function remainder (line 129) | def remainder(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, /) -> ... function sin (line 130) | def sin(x: _SupportsFloatOrIndex, /) -> float: ... function sinh (line 131) | def sinh(x: _SupportsFloatOrIndex, /) -> float: ... function sumprod (line 134) | def sumprod(p: Iterable[float], q: Iterable[float], /) -> float: ... function sqrt (line 136) | def sqrt(x: _SupportsFloatOrIndex, /) -> float: ... function tan (line 137) | def tan(x: _SupportsFloatOrIndex, /) -> float: ... function tanh (line 138) | def tanh(x: _SupportsFloatOrIndex, /) -> float: ... class _SupportsTrunc (line 142) | class _SupportsTrunc(Protocol[_T_co]): method __trunc__ (line 143) | def __trunc__(self) -> _T_co: ... function trunc (line 145) | def trunc(x: _SupportsTrunc[_T], /) -> _T: ... function ulp (line 146) | def ulp(x: _SupportsFloatOrIndex, /) -> float: ... function fma (line 149) | def fma(x: _SupportsFloatOrIndex, y: _SupportsFloatOrIndex, z: _Supports... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/os.pyi function getenv (line 10) | def getenv(key: str) -> str | None: ... function getenv (line 12) | def getenv(key: str, default: _T) -> str | _T: ... class stat_result (line 14) | class stat_result(structseq[float], tuple[int, int, int, int, int, int, ... method st_mode (line 27) | def st_mode(self) -> int: method st_ino (line 32) | def st_ino(self) -> int: method st_dev (line 37) | def st_dev(self) -> int: method st_nlink (line 42) | def st_nlink(self) -> int: method st_uid (line 47) | def st_uid(self) -> int: method st_gid (line 52) | def st_gid(self) -> int: method st_size (line 57) | def st_size(self) -> int: method st_atime (line 62) | def st_atime(self) -> float: method st_mtime (line 67) | def st_mtime(self) -> float: method st_ctime (line 72) | def st_ctime(self) -> float: class PathLike (line 82) | class PathLike(ABC, Protocol[AnyStr_co]): # type: ignore[misc] # pyrig... method __fspath__ (line 85) | def __fspath__(self) -> AnyStr_co: ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/pathlib/__init__.pyi class PurePath (line 32) | class PurePath(PathLike[str]): method full_match (line 60) | def full_match(self, pattern: StrPath, *, case_sensitive: bool | None ... method parts (line 63) | def parts(self) -> tuple[str, ...]: ... method drive (line 65) | def drive(self) -> str: ... method root (line 67) | def root(self) -> str: ... method anchor (line 69) | def anchor(self) -> str: ... method name (line 71) | def name(self) -> str: ... method suffix (line 73) | def suffix(self) -> str: ... method suffixes (line 75) | def suffixes(self) -> list[str]: ... method stem (line 77) | def stem(self) -> str: ... method __new__ (line 79) | def __new__(cls, *args: StrPath, **kwargs: Unused) -> Self: ... method __init__ (line 80) | def __init__(self, *args: StrPath) -> None: ... # pyright: ignore[rep... method __new__ (line 82) | def __new__(cls, *args: StrPath) -> Self: ... method __hash__ (line 84) | def __hash__(self) -> int: ... method __fspath__ (line 85) | def __fspath__(self) -> str: ... method __lt__ (line 86) | def __lt__(self, other: PurePath) -> bool: ... method __le__ (line 87) | def __le__(self, other: PurePath) -> bool: ... method __gt__ (line 88) | def __gt__(self, other: PurePath) -> bool: ... method __ge__ (line 89) | def __ge__(self, other: PurePath) -> bool: ... method __truediv__ (line 90) | def __truediv__(self, key: StrPath) -> Self: ... method __rtruediv__ (line 91) | def __rtruediv__(self, key: StrPath) -> Self: ... method __bytes__ (line 92) | def __bytes__(self) -> bytes: ... method as_posix (line 93) | def as_posix(self) -> str: ... method as_uri (line 95) | def as_uri(self) -> str: ... method is_absolute (line 96) | def is_absolute(self) -> bool: ... method is_reserved (line 102) | def is_reserved(self) -> bool: ... method is_reserved (line 104) | def is_reserved(self) -> bool: ... method is_relative_to (line 106) | def is_relative_to(self, other: StrPath) -> bool: ... method is_relative_to (line 109) | def is_relative_to(self, other: StrPath, /) -> bool: ... method is_relative_to (line 112) | def is_relative_to(self, other: StrPath, /, *_deprecated: StrPath) -> ... method is_relative_to (line 114) | def is_relative_to(self, *other: StrPath) -> bool: ... method match (line 117) | def match(self, path_pattern: str, *, case_sensitive: bool | None = No... method match (line 119) | def match(self, path_pattern: str) -> bool: ... method relative_to (line 122) | def relative_to(self, other: StrPath, *, walk_up: bool = False) -> Sel... method relative_to (line 125) | def relative_to(self, other: StrPath, /, *, walk_up: bool = False) -> ... method relative_to (line 128) | def relative_to(self, other: StrPath, /, *_deprecated: StrPath, walk_u... method relative_to (line 130) | def relative_to(self, *other: StrPath) -> Self: ... method with_name (line 132) | def with_name(self, name: str) -> Self: ... method with_stem (line 133) | def with_stem(self, stem: str) -> Self: ... method with_suffix (line 134) | def with_suffix(self, suffix: str) -> Self: ... method joinpath (line 135) | def joinpath(self, *other: StrPath) -> Self: ... method parents (line 137) | def parents(self) -> Sequence[Self]: ... method parent (line 139) | def parent(self) -> Self: ... method __class_getitem__ (line 141) | def __class_getitem__(cls, type: Any) -> GenericAlias: ... method with_segments (line 144) | def with_segments(self, *args: StrPath) -> Self: ... class PurePosixPath (line 146) | class PurePosixPath(PurePath): class PureWindowsPath (line 149) | class PureWindowsPath(PurePath): class Path (line 152) | class Path(PurePath): method __new__ (line 161) | def __new__(cls, *args: StrPath, **kwargs: Unused) -> Self: ... # pyr... method __new__ (line 163) | def __new__(cls, *args: StrPath, **kwargs: Unused) -> Self: ... method cwd (line 166) | def cwd(cls) -> Self: ... method stat (line 168) | def stat(self, *, follow_symlinks: bool = True) -> stat_result: ... method chmod (line 169) | def chmod(self, mode: int, *, follow_symlinks: bool = True) -> None: ... method stat (line 171) | def stat(self) -> stat_result: ... method chmod (line 172) | def chmod(self, mode: int) -> None: ... method from_uri (line 176) | def from_uri(cls, uri: str) -> Self: ... method is_dir (line 177) | def is_dir(self, *, follow_symlinks: bool = True) -> bool: ... method is_file (line 178) | def is_file(self, *, follow_symlinks: bool = True) -> bool: ... method read_text (line 179) | def read_text( method __enter__ (line 183) | def __enter__(self) -> Self: ... method __exit__ (line 184) | def __exit__( method is_dir (line 187) | def is_dir(self) -> bool: ... method is_file (line 188) | def is_file(self) -> bool: ... method read_text (line 189) | def read_text(self, encoding: str | None = None, errors: str | None = ... method glob (line 192) | def glob( method rglob (line 195) | def rglob( method glob (line 199) | def glob(self, pattern: str, *, case_sensitive: bool | None = None) ->... method rglob (line 200) | def rglob(self, pattern: str, *, case_sensitive: bool | None = None) -... method glob (line 202) | def glob(self, pattern: str) -> Generator[Self, None, None]: ... method rglob (line 203) | def rglob(self, pattern: str) -> Generator[Self, None, None]: ... method exists (line 206) | def exists(self, *, follow_symlinks: bool = True) -> bool: ... method exists (line 208) | def exists(self) -> bool: ... method is_symlink (line 210) | def is_symlink(self) -> bool: ... method is_socket (line 211) | def is_socket(self) -> bool: ... method is_fifo (line 212) | def is_fifo(self) -> bool: ... method is_block_device (line 213) | def is_block_device(self) -> bool: ... method is_char_device (line 214) | def is_char_device(self) -> bool: ... method is_junction (line 216) | def is_junction(self) -> bool: ... method iterdir (line 218) | def iterdir(self) -> Generator[Self, None, None]: ... method lchmod (line 219) | def lchmod(self, mode: int) -> None: ... method lstat (line 220) | def lstat(self) -> stat_result: ... method mkdir (line 221) | def mkdir(self, mode: int = 0o777, parents: bool = False, exist_ok: bo... method info (line 225) | def info(self) -> PathInfo: ... method move_into (line 227) | def move_into(self, target_dir: _PathT) -> _PathT: ... # type: ignore... method move_into (line 229) | def move_into(self, target_dir: StrPath) -> Self: ... # type: ignore[... method move (line 231) | def move(self, target: _PathT) -> _PathT: ... # type: ignore[overload... method move (line 233) | def move(self, target: StrPath) -> Self: ... # type: ignore[overload-... method copy_into (line 235) | def copy_into( method copy_into (line 239) | def copy_into( method copy (line 243) | def copy(self, target: _PathT, *, follow_symlinks: bool = True, preser... method copy (line 245) | def copy(self, target: StrPath, *, follow_symlinks: bool = True, prese... method open (line 251) | def open( method open (line 261) | def open( method open (line 271) | def open( method open (line 280) | def open( method open (line 289) | def open( method open (line 299) | def open( method open (line 309) | def open( method owner (line 322) | def owner(self: Never, *, follow_symlinks: bool = True) -> str: ... #... method group (line 323) | def group(self: Never, *, follow_symlinks: bool = True) -> str: ... #... method owner (line 325) | def owner(self: Never) -> str: ... # type: ignore[misc] method group (line 326) | def group(self: Never) -> str: ... # type: ignore[misc] method owner (line 329) | def owner(self, *, follow_symlinks: bool = True) -> str: ... method group (line 330) | def group(self, *, follow_symlinks: bool = True) -> str: ... method owner (line 332) | def owner(self) -> str: ... method group (line 333) | def group(self) -> str: ... method is_mount (line 338) | def is_mount(self: Never) -> bool: ... # type: ignore[misc] method is_mount (line 340) | def is_mount(self) -> bool: ... method readlink (line 342) | def readlink(self) -> Self: ... method rename (line 345) | def rename(self, target: StrPath) -> Self: ... method replace (line 346) | def replace(self, target: StrPath) -> Self: ... method rename (line 348) | def rename(self, target: str | PurePath) -> Self: ... method replace (line 349) | def replace(self, target: str | PurePath) -> Self: ... method resolve (line 351) | def resolve(self, strict: bool = False) -> Self: ... method rmdir (line 352) | def rmdir(self) -> None: ... method symlink_to (line 353) | def symlink_to(self, target: StrOrBytesPath, target_is_directory: bool... method hardlink_to (line 355) | def hardlink_to(self, target: StrOrBytesPath) -> None: ... method touch (line 357) | def touch(self, mode: int = 0o666, exist_ok: bool = True) -> None: ... method unlink (line 358) | def unlink(self, missing_ok: bool = False) -> None: ... method home (line 360) | def home(cls) -> Self: ... method absolute (line 361) | def absolute(self) -> Self: ... method expanduser (line 362) | def expanduser(self) -> Self: ... method read_bytes (line 363) | def read_bytes(self) -> bytes: ... method samefile (line 364) | def samefile(self, other_path: StrPath) -> bool: ... method write_bytes (line 365) | def write_bytes(self, data: ReadableBuffer) -> int: ... method write_text (line 367) | def write_text( method write_text (line 371) | def write_text(self, data: str, encoding: str | None = None, errors: s... method link_to (line 375) | def link_to(self, target: StrOrBytesPath) -> None: ... method link_to (line 377) | def link_to(self, target: StrOrBytesPath) -> None: ... method walk (line 379) | def walk( method as_uri (line 386) | def as_uri(self) -> str: ... class PosixPath (line 388) | class PosixPath(Path, PurePosixPath): class WindowsPath (line 391) | class WindowsPath(Path, PureWindowsPath): class UnsupportedOperation (line 395) | class UnsupportedOperation(NotImplementedError): ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/pathlib/types.pyi class PathInfo (line 4) | class PathInfo(Protocol): method exists (line 5) | def exists(self, *, follow_symlinks: bool = True) -> bool: ... method is_dir (line 6) | def is_dir(self, *, follow_symlinks: bool = True) -> bool: ... method is_file (line 7) | def is_file(self, *, follow_symlinks: bool = True) -> bool: ... method is_symlink (line 8) | def is_symlink(self) -> bool: ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/re.pyi class error (line 57) | class error(Exception): method __init__ (line 63) | def __init__(self, msg: str, pattern: str | bytes | None = None, pos: ... class Match (line 66) | class Match(Generic[AnyStr]): method pos (line 68) | def pos(self) -> int: ... method endpos (line 70) | def endpos(self) -> int: ... method lastindex (line 72) | def lastindex(self) -> int | None: ... method lastgroup (line 74) | def lastgroup(self) -> str | None: ... method string (line 76) | def string(self) -> AnyStr: ... method re (line 81) | def re(self) -> Pattern[AnyStr]: ... method expand (line 83) | def expand(self: Match[str], template: str) -> str: ... method expand (line 85) | def expand(self: Match[bytes], template: ReadableBuffer) -> bytes: ... method expand (line 87) | def expand(self, template: AnyStr) -> AnyStr: ... method group (line 90) | def group(self, group: Literal[0] = 0, /) -> AnyStr: ... method group (line 92) | def group(self, group: str | int, /) -> AnyStr | MaybeNone: ... method group (line 94) | def group(self, group1: str | int, group2: str | int, /, *groups: str ... method groups (line 98) | def groups(self) -> tuple[AnyStr | MaybeNone, ...]: ... method groups (line 100) | def groups(self, default: _T) -> tuple[AnyStr | _T, ...]: ... method groupdict (line 104) | def groupdict(self) -> dict[str, AnyStr | MaybeNone]: ... method groupdict (line 106) | def groupdict(self, default: _T) -> dict[str, AnyStr | _T]: ... method start (line 107) | def start(self, group: int | str = 0, /) -> int: ... method end (line 108) | def end(self, group: int | str = 0, /) -> int: ... method span (line 109) | def span(self, group: int | str = 0, /) -> tuple[int, int]: ... method regs (line 111) | def regs(self) -> tuple[tuple[int, int], ...]: ... # undocumented method __getitem__ (line 114) | def __getitem__(self, key: Literal[0], /) -> AnyStr: ... method __getitem__ (line 116) | def __getitem__(self, key: int | str, /) -> AnyStr | MaybeNone: ... method __copy__ (line 117) | def __copy__(self) -> Match[AnyStr]: ... method __deepcopy__ (line 118) | def __deepcopy__(self, memo: Any, /) -> Match[AnyStr]: ... method __class_getitem__ (line 119) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class Pattern (line 122) | class Pattern(Generic[AnyStr]): method flags (line 124) | def flags(self) -> int: ... method groupindex (line 126) | def groupindex(self) -> Mapping[str, int]: ... method groups (line 128) | def groups(self) -> int: ... method pattern (line 130) | def pattern(self) -> AnyStr: ... method search (line 132) | def search(self: Pattern[str], string: str, pos: int = 0, endpos: int ... method search (line 134) | def search( method search (line 138) | def search(self, string: AnyStr, pos: int = 0, endpos: int = sys.maxsi... method match (line 140) | def match(self: Pattern[str], string: str, pos: int = 0, endpos: int =... method match (line 142) | def match( method match (line 146) | def match(self, string: AnyStr, pos: int = 0, endpos: int = sys.maxsiz... method fullmatch (line 148) | def fullmatch(self: Pattern[str], string: str, pos: int = 0, endpos: i... method fullmatch (line 150) | def fullmatch( method fullmatch (line 154) | def fullmatch(self, string: AnyStr, pos: int = 0, endpos: int = sys.ma... method split (line 156) | def split(self: Pattern[str], string: str, maxsplit: int = 0) -> list[... method split (line 158) | def split(self: Pattern[bytes], string: ReadableBuffer, maxsplit: int ... method split (line 160) | def split(self, string: AnyStr, maxsplit: int = 0) -> list[AnyStr | Ma... method findall (line 163) | def findall(self: Pattern[str], string: str, pos: int = 0, endpos: int... method findall (line 165) | def findall(self: Pattern[bytes], string: ReadableBuffer, pos: int = 0... method findall (line 167) | def findall(self, string: AnyStr, pos: int = 0, endpos: int = sys.maxs... method finditer (line 169) | def finditer(self: Pattern[str], string: str, pos: int = 0, endpos: in... method finditer (line 171) | def finditer( method finditer (line 175) | def finditer(self, string: AnyStr, pos: int = 0, endpos: int = sys.max... method sub (line 177) | def sub(self: Pattern[str], repl: str | Callable[[Match[str]], str], s... method sub (line 179) | def sub( method sub (line 186) | def sub(self, repl: AnyStr | Callable[[Match[AnyStr]], AnyStr], string... method subn (line 188) | def subn( method subn (line 192) | def subn( method subn (line 199) | def subn( method __copy__ (line 202) | def __copy__(self) -> Pattern[AnyStr]: ... method __deepcopy__ (line 203) | def __deepcopy__(self, memo: Any, /) -> Pattern[AnyStr]: ... method __eq__ (line 204) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 205) | def __hash__(self) -> int: ... method __class_getitem__ (line 206) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class RegexFlag (line 210) | class RegexFlag(enum.IntFlag): function compile (line 262) | def compile(pattern: AnyStr, flags: _FlagsType = 0) -> Pattern[AnyStr]: ... function compile (line 264) | def compile(pattern: Pattern[AnyStr], flags: _FlagsType = 0) -> Pattern[... function search (line 266) | def search(pattern: str | Pattern[str], string: str, flags: _FlagsType =... function search (line 268) | def search(pattern: bytes | Pattern[bytes], string: ReadableBuffer, flag... function match (line 270) | def match(pattern: str | Pattern[str], string: str, flags: _FlagsType = ... function match (line 272) | def match(pattern: bytes | Pattern[bytes], string: ReadableBuffer, flags... function fullmatch (line 274) | def fullmatch(pattern: str | Pattern[str], string: str, flags: _FlagsTyp... function fullmatch (line 276) | def fullmatch( function split (line 280) | def split( function split (line 284) | def split( function findall (line 288) | def findall(pattern: str | Pattern[str], string: str, flags: _FlagsType ... function findall (line 290) | def findall(pattern: bytes | Pattern[bytes], string: ReadableBuffer, fla... function finditer (line 292) | def finditer(pattern: str | Pattern[str], string: str, flags: _FlagsType... function finditer (line 294) | def finditer( function sub (line 298) | def sub( function sub (line 306) | def sub( function subn (line 314) | def subn( function subn (line 322) | def subn( function escape (line 329) | def escape(pattern: AnyStr) -> AnyStr: ... function purge (line 330) | def purge() -> None: ... function template (line 335) | def template(pattern: AnyStr | Pattern[AnyStr], flags: _FlagsType = 0) -... function template (line 337) | def template(pattern: AnyStr | Pattern[AnyStr], flags: _FlagsType = 0) -... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/sys.pyi class _version_info (line 19) | class _version_info(_UninstantiableStructseq, tuple[int, int, int, _Rele... method major (line 23) | def major(self) -> int: ... method minor (line 25) | def minor(self) -> int: ... method micro (line 27) | def micro(self) -> int: ... method releaselevel (line 29) | def releaselevel(self) -> _ReleaseLevel: ... method serial (line 31) | def serial(self) -> int: ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/types.pyi class FunctionType (line 74) | class FunctionType: method __closure__ (line 76) | def __closure__(self) -> tuple[CellType, ...] | None: ... method __globals__ (line 81) | def __globals__(self) -> dict[str, Any]: ... method __builtins__ (line 90) | def __builtins__(self) -> dict[str, Any]: ... method __new__ (line 96) | def __new__( method __new__ (line 106) | def __new__( method __call__ (line 115) | def __call__(self, *args: Any, **kwargs: Any) -> Any: ... method __get__ (line 117) | def __get__(self, instance: None, owner: type, /) -> FunctionType: ... method __get__ (line 119) | def __get__(self, instance: object, owner: type | None = None, /) -> M... class CodeType (line 124) | class CodeType: method __eq__ (line 125) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 126) | def __hash__(self) -> int: ... method co_argcount (line 128) | def co_argcount(self) -> int: ... method co_posonlyargcount (line 130) | def co_posonlyargcount(self) -> int: ... method co_kwonlyargcount (line 132) | def co_kwonlyargcount(self) -> int: ... method co_nlocals (line 134) | def co_nlocals(self) -> int: ... method co_stacksize (line 136) | def co_stacksize(self) -> int: ... method co_flags (line 138) | def co_flags(self) -> int: ... method co_code (line 140) | def co_code(self) -> bytes: ... method co_consts (line 142) | def co_consts(self) -> tuple[Any, ...]: ... method co_names (line 144) | def co_names(self) -> tuple[str, ...]: ... method co_varnames (line 146) | def co_varnames(self) -> tuple[str, ...]: ... method co_filename (line 148) | def co_filename(self) -> str: ... method co_name (line 150) | def co_name(self) -> str: ... method co_firstlineno (line 152) | def co_firstlineno(self) -> int: ... method co_lnotab (line 156) | def co_lnotab(self) -> bytes: ... method co_lnotab (line 159) | def co_lnotab(self) -> bytes: ... method co_freevars (line 162) | def co_freevars(self) -> tuple[str, ...]: ... method co_cellvars (line 164) | def co_cellvars(self) -> tuple[str, ...]: ... method co_linetable (line 167) | def co_linetable(self) -> bytes: ... method co_lines (line 168) | def co_lines(self) -> Iterator[tuple[int, int, int | None]]: ... method co_exceptiontable (line 171) | def co_exceptiontable(self) -> bytes: ... method co_qualname (line 173) | def co_qualname(self) -> str: ... method co_positions (line 174) | def co_positions(self) -> Iterable[tuple[int | None, int | None, int |... method co_branches (line 176) | def co_branches(self) -> Iterator[tuple[int, int, int]]: ... method __new__ (line 179) | def __new__( method __new__ (line 202) | def __new__( method __new__ (line 223) | def __new__( method replace (line 244) | def replace( method replace (line 267) | def replace( method replace (line 288) | def replace( class MappingProxyType (line 313) | class MappingProxyType(Mapping[_KT_co, _VT_co]): # type: ignore[type-va... method __new__ (line 315) | def __new__(cls, mapping: SupportsKeysAndGetItem[_KT_co, _VT_co]) -> S... method __getitem__ (line 316) | def __getitem__(self, key: _KT_co, /) -> _VT_co: ... # type: ignore[m... method __iter__ (line 317) | def __iter__(self) -> Iterator[_KT_co]: ... method __len__ (line 318) | def __len__(self) -> int: ... method __eq__ (line 319) | def __eq__(self, value: object, /) -> bool: ... method copy (line 320) | def copy(self) -> dict[_KT_co, _VT_co]: ... method keys (line 321) | def keys(self) -> KeysView[_KT_co]: ... method values (line 322) | def values(self) -> ValuesView[_VT_co]: ... method items (line 323) | def items(self) -> ItemsView[_KT_co, _VT_co]: ... method get (line 325) | def get(self, key: _KT_co, /) -> _VT_co | None: ... # type: ignore[mi... method get (line 327) | def get(self, key: _KT_co, default: _VT_co, /) -> _VT_co: ... # type:... method get (line 329) | def get(self, key: _KT_co, default: _T2, /) -> _VT_co | _T2: ... # ty... method __class_getitem__ (line 330) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... method __reversed__ (line 331) | def __reversed__(self) -> Iterator[_KT_co]: ... method __or__ (line 332) | def __or__(self, value: Mapping[_T1, _T2], /) -> dict[_KT_co | _T1, _V... method __ror__ (line 333) | def __ror__(self, value: Mapping[_T1, _T2], /) -> dict[_KT_co | _T1, _... class SimpleNamespace (line 337) | class SimpleNamespace: method __init__ (line 340) | def __init__( method __init__ (line 344) | def __init__(self, **kwargs: Any) -> None: ... method __eq__ (line 346) | def __eq__(self, value: object, /) -> bool: ... method __getattribute__ (line 347) | def __getattribute__(self, name: str, /) -> Any: ... method __setattr__ (line 348) | def __setattr__(self, name: str, value: Any, /) -> None: ... method __delattr__ (line 349) | def __delattr__(self, name: str, /) -> None: ... method __replace__ (line 351) | def __replace__(self, **kwargs: Any) -> Self: ... method __init__ (line 356) | def __init__(self, **kwargs: Any) -> None: ... method __eq__ (line 357) | def __eq__(self, value: object, /) -> bool: ... method __getattribute__ (line 358) | def __getattribute__(self, name: str, /) -> Any: ... method __setattr__ (line 359) | def __setattr__(self, name: str, value: Any, /) -> None: ... method __delattr__ (line 360) | def __delattr__(self, name: str, /) -> None: ... class SimpleNamespace (line 354) | class SimpleNamespace: method __init__ (line 340) | def __init__( method __init__ (line 344) | def __init__(self, **kwargs: Any) -> None: ... method __eq__ (line 346) | def __eq__(self, value: object, /) -> bool: ... method __getattribute__ (line 347) | def __getattribute__(self, name: str, /) -> Any: ... method __setattr__ (line 348) | def __setattr__(self, name: str, value: Any, /) -> None: ... method __delattr__ (line 349) | def __delattr__(self, name: str, /) -> None: ... method __replace__ (line 351) | def __replace__(self, **kwargs: Any) -> Self: ... method __init__ (line 356) | def __init__(self, **kwargs: Any) -> None: ... method __eq__ (line 357) | def __eq__(self, value: object, /) -> bool: ... method __getattribute__ (line 358) | def __getattribute__(self, name: str, /) -> Any: ... method __setattr__ (line 359) | def __setattr__(self, name: str, value: Any, /) -> None: ... method __delattr__ (line 360) | def __delattr__(self, name: str, /) -> None: ... class ModuleType (line 363) | class ModuleType: method __dict__ (line 367) | def __dict__(self) -> dict[str, Any]: ... # type: ignore[override] method __init__ (line 383) | def __init__(self, name: str, doc: str | None = ...) -> None: ... method __getattr__ (line 387) | def __getattr__(self, name: str) -> Any: ... class CellType (line 390) | class CellType: method __new__ (line 391) | def __new__(cls, contents: object = ..., /) -> Self: ... class GeneratorType (line 400) | class GeneratorType(Generator[_YieldT_co, _SendT_contra, _ReturnT_co]): method gi_code (line 402) | def gi_code(self) -> CodeType: ... method gi_frame (line 404) | def gi_frame(self) -> FrameType | None: ... method gi_running (line 406) | def gi_running(self) -> bool: ... method gi_yieldfrom (line 408) | def gi_yieldfrom(self) -> Iterator[_YieldT_co] | None: ... method gi_suspended (line 411) | def gi_suspended(self) -> bool: ... method __iter__ (line 414) | def __iter__(self) -> Self: ... method __next__ (line 415) | def __next__(self) -> _YieldT_co: ... method send (line 416) | def send(self, arg: _SendT_contra, /) -> _YieldT_co: ... method throw (line 418) | def throw( method throw (line 422) | def throw(self, typ: BaseException, val: None = None, tb: TracebackTyp... method __class_getitem__ (line 424) | def __class_getitem__(cls, item: Any, /) -> Any: ... class AsyncGeneratorType (line 427) | class AsyncGeneratorType(AsyncGenerator[_YieldT_co, _SendT_contra]): method ag_await (line 429) | def ag_await(self) -> Awaitable[Any] | None: ... method ag_code (line 431) | def ag_code(self) -> CodeType: ... method ag_frame (line 433) | def ag_frame(self) -> FrameType | None: ... method ag_running (line 435) | def ag_running(self) -> bool: ... method ag_suspended (line 440) | def ag_suspended(self) -> bool: ... method __aiter__ (line 442) | def __aiter__(self) -> Self: ... method __anext__ (line 443) | def __anext__(self) -> Coroutine[Any, Any, _YieldT_co]: ... method asend (line 444) | def asend(self, val: _SendT_contra, /) -> Coroutine[Any, Any, _YieldT_... method athrow (line 446) | async def athrow( method athrow (line 450) | async def athrow(self, typ: BaseException, val: None = None, tb: Trace... method aclose (line 451) | def aclose(self) -> Coroutine[Any, Any, None]: ... method __class_getitem__ (line 452) | def __class_getitem__(cls, item: Any, /) -> GenericAlias: ... class CoroutineType (line 459) | class CoroutineType(Coroutine[_YieldT_co, _SendT_nd_contra, _ReturnT_nd_... method cr_await (line 463) | def cr_await(self) -> Any | None: ... method cr_code (line 465) | def cr_code(self) -> CodeType: ... method cr_frame (line 467) | def cr_frame(self) -> FrameType | None: ... method cr_running (line 469) | def cr_running(self) -> bool: ... method cr_origin (line 471) | def cr_origin(self) -> tuple[tuple[str, int, str], ...] | None: ... method cr_suspended (line 474) | def cr_suspended(self) -> bool: ... method close (line 476) | def close(self) -> None: ... method __await__ (line 477) | def __await__(self) -> Generator[Any, None, _ReturnT_nd_co]: ... method send (line 478) | def send(self, arg: _SendT_nd_contra, /) -> _YieldT_co: ... method throw (line 480) | def throw( method throw (line 484) | def throw(self, typ: BaseException, val: None = None, tb: TracebackTyp... method __class_getitem__ (line 486) | def __class_getitem__(cls, item: Any, /) -> Any: ... class MethodType (line 489) | class MethodType: method __closure__ (line 491) | def __closure__(self) -> tuple[CellType, ...] | None: ... # inherited... method __code__ (line 493) | def __code__(self) -> CodeType: ... # inherited from the added function method __defaults__ (line 495) | def __defaults__(self) -> tuple[Any, ...] | None: ... # inherited fro... method __func__ (line 497) | def __func__(self) -> Callable[..., Any]: ... method __self__ (line 499) | def __self__(self) -> object: ... method __name__ (line 501) | def __name__(self) -> str: ... # inherited from the added function method __qualname__ (line 503) | def __qualname__(self) -> str: ... # inherited from the added function method __new__ (line 504) | def __new__(cls, func: Callable[..., Any], instance: object, /) -> Sel... method __call__ (line 505) | def __call__(self, *args: Any, **kwargs: Any) -> Any: ... method __get__ (line 508) | def __get__(self, instance: object, owner: type | None = None, /) -> S... method __eq__ (line 510) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 511) | def __hash__(self) -> int: ... class BuiltinFunctionType (line 514) | class BuiltinFunctionType: method __self__ (line 516) | def __self__(self) -> object | ModuleType: ... method __name__ (line 518) | def __name__(self) -> str: ... method __qualname__ (line 520) | def __qualname__(self) -> str: ... method __call__ (line 521) | def __call__(self, *args: Any, **kwargs: Any) -> Any: ... method __eq__ (line 522) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 523) | def __hash__(self) -> int: ... class WrapperDescriptorType (line 528) | class WrapperDescriptorType: method __name__ (line 530) | def __name__(self) -> str: ... method __qualname__ (line 532) | def __qualname__(self) -> str: ... method __objclass__ (line 534) | def __objclass__(self) -> type: ... method __call__ (line 535) | def __call__(self, *args: Any, **kwargs: Any) -> Any: ... method __get__ (line 536) | def __get__(self, instance: Any, owner: type | None = None, /) -> Any:... class MethodWrapperType (line 539) | class MethodWrapperType: method __self__ (line 541) | def __self__(self) -> object: ... method __name__ (line 543) | def __name__(self) -> str: ... method __qualname__ (line 545) | def __qualname__(self) -> str: ... method __objclass__ (line 547) | def __objclass__(self) -> type: ... method __call__ (line 548) | def __call__(self, *args: Any, **kwargs: Any) -> Any: ... method __eq__ (line 549) | def __eq__(self, value: object, /) -> bool: ... method __ne__ (line 550) | def __ne__(self, value: object, /) -> bool: ... method __hash__ (line 551) | def __hash__(self) -> int: ... class MethodDescriptorType (line 554) | class MethodDescriptorType: method __name__ (line 556) | def __name__(self) -> str: ... method __qualname__ (line 558) | def __qualname__(self) -> str: ... method __objclass__ (line 560) | def __objclass__(self) -> type: ... method __call__ (line 561) | def __call__(self, *args: Any, **kwargs: Any) -> Any: ... method __get__ (line 562) | def __get__(self, instance: Any, owner: type | None = None, /) -> Any:... class ClassMethodDescriptorType (line 565) | class ClassMethodDescriptorType: method __name__ (line 567) | def __name__(self) -> str: ... method __qualname__ (line 569) | def __qualname__(self) -> str: ... method __objclass__ (line 571) | def __objclass__(self) -> type: ... method __call__ (line 572) | def __call__(self, *args: Any, **kwargs: Any) -> Any: ... method __get__ (line 573) | def __get__(self, instance: Any, owner: type | None = None, /) -> Any:... class TracebackType (line 576) | class TracebackType: method __new__ (line 577) | def __new__(cls, tb_next: TracebackType | None, tb_frame: FrameType, t... method tb_frame (line 581) | def tb_frame(self) -> FrameType: ... method tb_lasti (line 583) | def tb_lasti(self) -> int: ... method tb_lineno (line 585) | def tb_lineno(self) -> int: ... class FrameType (line 588) | class FrameType: method f_back (line 590) | def f_back(self) -> FrameType | None: ... method f_builtins (line 592) | def f_builtins(self) -> dict[str, Any]: ... method f_code (line 594) | def f_code(self) -> CodeType: ... method f_globals (line 596) | def f_globals(self) -> dict[str, Any]: ... method f_lasti (line 598) | def f_lasti(self) -> int: ... method f_lineno (line 603) | def f_lineno(self) -> int | MaybeNone: ... method f_locals (line 605) | def f_locals(self) -> dict[str, Any]: ... method clear (line 609) | def clear(self) -> None: ... method f_generator (line 612) | def f_generator(self) -> GeneratorType[Any, Any, Any] | CoroutineType[... class GetSetDescriptorType (line 615) | class GetSetDescriptorType: method __name__ (line 617) | def __name__(self) -> str: ... method __qualname__ (line 619) | def __qualname__(self) -> str: ... method __objclass__ (line 621) | def __objclass__(self) -> type: ... method __get__ (line 622) | def __get__(self, instance: Any, owner: type | None = None, /) -> Any:... method __set__ (line 623) | def __set__(self, instance: Any, value: Any, /) -> None: ... method __delete__ (line 624) | def __delete__(self, instance: Any, /) -> None: ... class MemberDescriptorType (line 627) | class MemberDescriptorType: method __name__ (line 629) | def __name__(self) -> str: ... method __qualname__ (line 631) | def __qualname__(self) -> str: ... method __objclass__ (line 633) | def __objclass__(self) -> type: ... method __get__ (line 634) | def __get__(self, instance: Any, owner: type | None = None, /) -> Any:... method __set__ (line 635) | def __set__(self, instance: Any, value: Any, /) -> None: ... method __delete__ (line 636) | def __delete__(self, instance: Any, /) -> None: ... function new_class (line 638) | def new_class( function resolve_bases (line 644) | def resolve_bases(bases: Iterable[object]) -> tuple[Any, ...]: ... function prepare_class (line 645) | def prepare_class( function get_original_bases (line 650) | def get_original_bases(cls: type, /) -> tuple[Any, ...]: ... class DynamicClassAttribute (line 654) | class DynamicClassAttribute(property): method __init__ (line 660) | def __init__( method __get__ (line 667) | def __get__(self, instance: Any, ownerclass: type | None = None) -> An... method __set__ (line 668) | def __set__(self, instance: Any, value: Any) -> None: ... method __delete__ (line 669) | def __delete__(self, instance: Any) -> None: ... method getter (line 670) | def getter(self, fget: Callable[[Any], Any]) -> DynamicClassAttribute:... method setter (line 671) | def setter(self, fset: Callable[[Any, Any], object]) -> DynamicClassAt... method deleter (line 672) | def deleter(self, fdel: Callable[[Any], object]) -> DynamicClassAttrib... function coroutine (line 680) | def coroutine(func: Callable[_P, Generator[Any, Any, _R]]) -> Callable[_... function coroutine (line 682) | def coroutine(func: _Fn) -> _Fn: ... class GenericAlias (line 684) | class GenericAlias: method __origin__ (line 686) | def __origin__(self) -> type | TypeAliasType: ... method __args__ (line 688) | def __args__(self) -> tuple[Any, ...]: ... method __parameters__ (line 690) | def __parameters__(self) -> tuple[Any, ...]: ... method __new__ (line 691) | def __new__(cls, origin: type, args: Any, /) -> Self: ... method __getitem__ (line 692) | def __getitem__(self, typeargs: Any, /) -> GenericAlias: ... method __eq__ (line 693) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 694) | def __hash__(self) -> int: ... method __mro_entries__ (line 695) | def __mro_entries__(self, bases: Iterable[object], /) -> tuple[type, .... method __unpacked__ (line 698) | def __unpacked__(self) -> bool: ... method __typing_unpacked_tuple_args__ (line 700) | def __typing_unpacked_tuple_args__(self) -> tuple[Any, ...] | None: ... method __or__ (line 702) | def __or__(self, value: Any, /) -> UnionType: ... method __ror__ (line 703) | def __ror__(self, value: Any, /) -> UnionType: ... method __getattr__ (line 706) | def __getattr__(self, name: str) -> Any: ... class NoneType (line 710) | class NoneType: method __bool__ (line 711) | def __bool__(self) -> Literal[False]: ... class EllipsisType (line 714) | class EllipsisType: ... class NotImplementedType (line 717) | class NotImplementedType(Any): ... class UnionType (line 720) | class UnionType: method __args__ (line 722) | def __args__(self) -> tuple[Any, ...]: ... method __parameters__ (line 724) | def __parameters__(self) -> tuple[Any, ...]: ... method __or__ (line 731) | def __or__(self, value: Any, /) -> UnionType | Any: ... method __ror__ (line 732) | def __ror__(self, value: Any, /) -> UnionType | Any: ... method __eq__ (line 733) | def __eq__(self, value: object, /) -> bool: ... method __hash__ (line 734) | def __hash__(self) -> int: ... method __getitem__ (line 737) | def __getitem__(self, parameters: Any, /) -> object: ... class CapsuleType (line 741) | class CapsuleType: ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/typing.pyi class Any (line 161) | class Any: ... class _Final (line 163) | class _Final: function final (line 166) | def final(f: _T) -> _T: ... class TypeVar (line 168) | class TypeVar: method __name__ (line 170) | def __name__(self) -> str: ... method __bound__ (line 172) | def __bound__(self) -> Any | None: ... # AnnotationForm method __constraints__ (line 174) | def __constraints__(self) -> tuple[Any, ...]: ... # AnnotationForm method __covariant__ (line 176) | def __covariant__(self) -> bool: ... method __contravariant__ (line 178) | def __contravariant__(self) -> bool: ... method __infer_variance__ (line 181) | def __infer_variance__(self) -> bool: ... method __default__ (line 184) | def __default__(self) -> Any: ... # AnnotationForm method __new__ (line 186) | def __new__( method __new__ (line 197) | def __new__( method __new__ (line 207) | def __new__( method __init__ (line 216) | def __init__( method __or__ (line 225) | def __or__(self, right: Any, /) -> _SpecialForm: ... # AnnotationForm method __ror__ (line 226) | def __ror__(self, left: Any, /) -> _SpecialForm: ... # AnnotationForm method __typing_subst__ (line 228) | def __typing_subst__(self, arg: Any, /) -> Any: ... method __typing_prepare_subst__ (line 230) | def __typing_prepare_subst__(self, alias: Any, args: Any, /) -> tuple[... method has_default (line 231) | def has_default(self) -> bool: ... method evaluate_bound (line 234) | def evaluate_bound(self) -> EvaluateFunc | None: ... method evaluate_constraints (line 236) | def evaluate_constraints(self) -> EvaluateFunc | None: ... method evaluate_default (line 238) | def evaluate_default(self) -> EvaluateFunc | None: ... class _SpecialForm (line 242) | class _SpecialForm(_Final): method __getitem__ (line 244) | def __getitem__(self, parameters: Any) -> object: ... method __or__ (line 246) | def __or__(self, other: Any) -> _SpecialForm: ... method __ror__ (line 247) | def __ror__(self, other: Any) -> _SpecialForm: ... class TypeVarTuple (line 272) | class TypeVarTuple: method __name__ (line 274) | def __name__(self) -> str: ... method __default__ (line 277) | def __default__(self) -> Any: ... # AnnotationForm method has_default (line 278) | def has_default(self) -> bool: ... method __new__ (line 280) | def __new__(cls, name: str, *, default: Any = ...) -> Self: ... # Ann... method __new__ (line 282) | def __new__(cls, name: str) -> Self: ... method __init__ (line 284) | def __init__(self, name: str) -> None: ... method __iter__ (line 286) | def __iter__(self) -> Any: ... method __typing_subst__ (line 287) | def __typing_subst__(self, arg: Never, /) -> Never: ... method __typing_prepare_subst__ (line 288) | def __typing_prepare_subst__(self, alias: Any, args: Any, /) -> tuple[... method evaluate_default (line 291) | def evaluate_default(self) -> EvaluateFunc | None: ... class ParamSpecArgs (line 295) | class ParamSpecArgs: method __origin__ (line 297) | def __origin__(self) -> ParamSpec: ... method __new__ (line 299) | def __new__(cls, origin: ParamSpec) -> Self: ... method __init__ (line 301) | def __init__(self, origin: ParamSpec) -> None: ... method __eq__ (line 303) | def __eq__(self, other: object, /) -> bool: ... class ParamSpecKwargs (line 307) | class ParamSpecKwargs: method __origin__ (line 309) | def __origin__(self) -> ParamSpec: ... method __new__ (line 311) | def __new__(cls, origin: ParamSpec) -> Self: ... method __init__ (line 313) | def __init__(self, origin: ParamSpec) -> None: ... method __eq__ (line 315) | def __eq__(self, other: object, /) -> bool: ... class ParamSpec (line 319) | class ParamSpec: method __name__ (line 321) | def __name__(self) -> str: ... method __bound__ (line 323) | def __bound__(self) -> Any | None: ... # AnnotationForm method __covariant__ (line 325) | def __covariant__(self) -> bool: ... method __contravariant__ (line 327) | def __contravariant__(self) -> bool: ... method __infer_variance__ (line 330) | def __infer_variance__(self) -> bool: ... method __default__ (line 333) | def __default__(self) -> Any: ... # AnnotationForm method __new__ (line 335) | def __new__( method __new__ (line 346) | def __new__( method __new__ (line 356) | def __new__( method __init__ (line 365) | def __init__( method args (line 375) | def args(self) -> ParamSpecArgs: ... method kwargs (line 377) | def kwargs(self) -> ParamSpecKwargs: ... method __typing_subst__ (line 379) | def __typing_subst__(self, arg: Any, /) -> Any: ... method __typing_prepare_subst__ (line 380) | def __typing_prepare_subst__(self, alias: Any, args: Any, /) -> tuple[... method __or__ (line 382) | def __or__(self, right: Any, /) -> _SpecialForm: ... method __ror__ (line 383) | def __ror__(self, left: Any, /) -> _SpecialForm: ... method has_default (line 385) | def has_default(self) -> bool: ... method evaluate_default (line 388) | def evaluate_default(self) -> EvaluateFunc | None: ... class NewType (line 394) | class NewType: method __init__ (line 395) | def __init__(self, name: str, tp: Any) -> None: ... # AnnotationForm method __call__ (line 398) | def __call__(x: _T, /) -> _T: ... method __call__ (line 400) | def __call__(self, x: _T) -> _T: ... method __or__ (line 402) | def __or__(self, other: Any) -> _SpecialForm: ... method __ror__ (line 403) | def __ror__(self, other: Any) -> _SpecialForm: ... function NewType (line 408) | def NewType(name: str, tp: Any) -> Any: ... method __init__ (line 395) | def __init__(self, name: str, tp: Any) -> None: ... # AnnotationForm method __call__ (line 398) | def __call__(x: _T, /) -> _T: ... method __call__ (line 400) | def __call__(self, x: _T) -> _T: ... method __or__ (line 402) | def __or__(self, other: Any) -> _SpecialForm: ... method __ror__ (line 403) | def __ror__(self, other: Any) -> _SpecialForm: ... function overload (line 425) | def overload(func: _F) -> _F: ... function no_type_check (line 426) | def no_type_check(arg: _F) -> _F: ... function no_type_check_decorator (line 430) | def no_type_check_decorator(decorator: Callable[_P, _T]) -> Callable[_P,... function no_type_check_decorator (line 433) | def no_type_check_decorator(decorator: Callable[_P, _T]) -> Callable[_P,... function type_check_only (line 436) | def type_check_only(func_or_cls: _FT) -> _FT: ... class _Alias (line 441) | class _Alias: method __getitem__ (line 443) | def __getitem__(self, typeargs: Any) -> Any: ... class _Generic (line 462) | class _Generic: method __class_getitem__ (line 468) | def __class_getitem__(cls, args: TypeVar | ParamSpec | tuple[TypeVar |... method __class_getitem__ (line 471) | def __class_getitem__(cls, args: TypeVar | tuple[TypeVar, ...]) -> _Fi... class _ProtocolMeta (line 475) | class _ProtocolMeta(ABCMeta): method __init__ (line 477) | def __init__(cls, *args: Any, **kwargs: Any) -> None: ... function runtime_checkable (line 481) | def runtime_checkable(cls: _TC) -> _TC: ... class SupportsInt (line 483) | class SupportsInt(Protocol, metaclass=ABCMeta): method __int__ (line 486) | def __int__(self) -> int: ... class SupportsFloat (line 489) | class SupportsFloat(Protocol, metaclass=ABCMeta): method __float__ (line 492) | def __float__(self) -> float: ... class SupportsComplex (line 495) | class SupportsComplex(Protocol, metaclass=ABCMeta): method __complex__ (line 498) | def __complex__(self) -> complex: ... class SupportsBytes (line 501) | class SupportsBytes(Protocol, metaclass=ABCMeta): method __bytes__ (line 504) | def __bytes__(self) -> bytes: ... class SupportsIndex (line 507) | class SupportsIndex(Protocol, metaclass=ABCMeta): method __index__ (line 510) | def __index__(self) -> int: ... class SupportsAbs (line 513) | class SupportsAbs(Protocol[_T_co]): method __abs__ (line 516) | def __abs__(self) -> _T_co: ... class SupportsRound (line 519) | class SupportsRound(Protocol[_T_co]): method __round__ (line 523) | def __round__(self) -> int: ... method __round__ (line 526) | def __round__(self, ndigits: int, /) -> _T_co: ... class Sized (line 529) | class Sized(Protocol, metaclass=ABCMeta): method __len__ (line 531) | def __len__(self) -> int: ... class Hashable (line 534) | class Hashable(Protocol, metaclass=ABCMeta): method __hash__ (line 539) | def __hash__(self) -> int: ... class Iterable (line 542) | class Iterable(Protocol[_T_co]): method __iter__ (line 544) | def __iter__(self) -> Iterator[_T_co]: ... class Iterator (line 547) | class Iterator(Iterable[_T_co], Protocol[_T_co]): method __next__ (line 549) | def __next__(self) -> _T_co: ... method __iter__ (line 550) | def __iter__(self) -> Iterator[_T_co]: ... class Reversible (line 553) | class Reversible(Iterable[_T_co], Protocol[_T_co]): method __reversed__ (line 555) | def __reversed__(self) -> Iterator[_T_co]: ... class Generator (line 562) | class Generator(Iterator[_YieldT_co], Protocol[_YieldT_co, _SendT_contra... method __next__ (line 563) | def __next__(self) -> _YieldT_co: ... method send (line 565) | def send(self, value: _SendT_contra, /) -> _YieldT_co: ... method throw (line 568) | def throw( method throw (line 573) | def throw(self, typ: BaseException, val: None = None, tb: TracebackTyp... method close (line 575) | def close(self) -> _ReturnT_co | None: ... method close (line 577) | def close(self) -> None: ... method __iter__ (line 579) | def __iter__(self) -> Generator[_YieldT_co, _SendT_contra, _ReturnT_co... class ContextManager (line 588) | class ContextManager(AbstractContextManager[_T_co, bool | None], Protoco... class AsyncContextManager (line 591) | class AsyncContextManager(AbstractAsyncContextManager[_T_co, bool | None... class Awaitable (line 594) | class Awaitable(Protocol[_T_co]): method __await__ (line 596) | def __await__(self) -> Generator[Any, Any, _T_co]: ... class Coroutine (line 602) | class Coroutine(Awaitable[_ReturnT_nd_co], Generic[_YieldT_co, _SendT_nd... method send (line 607) | def send(self, value: _SendT_nd_contra, /) -> _YieldT_co: ... method throw (line 610) | def throw( method throw (line 615) | def throw(self, typ: BaseException, val: None = None, tb: TracebackTyp... method close (line 617) | def close(self) -> None: ... class AwaitableGenerator (line 623) | class AwaitableGenerator( class AsyncIterable (line 631) | class AsyncIterable(Protocol[_T_co]): method __aiter__ (line 633) | def __aiter__(self) -> AsyncIterator[_T_co]: ... class AsyncIterator (line 636) | class AsyncIterator(AsyncIterable[_T_co], Protocol[_T_co]): method __anext__ (line 638) | def __anext__(self) -> Awaitable[_T_co]: ... method __aiter__ (line 639) | def __aiter__(self) -> AsyncIterator[_T_co]: ... class AsyncGenerator (line 642) | class AsyncGenerator(AsyncIterator[_YieldT_co], Protocol[_YieldT_co, _Se... method __anext__ (line 643) | def __anext__(self) -> Coroutine[Any, Any, _YieldT_co]: ... method asend (line 645) | def asend(self, value: _SendT_contra, /) -> Coroutine[Any, Any, _Yield... method athrow (line 648) | def athrow( method athrow (line 653) | def athrow( method aclose (line 656) | def aclose(self) -> Coroutine[Any, Any, None]: ... class Container (line 661) | class Container(Protocol[_ContainerT_contra]): method __contains__ (line 664) | def __contains__(self, x: _ContainerT_contra, /) -> bool: ... class Collection (line 667) | class Collection(Iterable[_T_co], Container[Any], Protocol[_T_co]): method __len__ (line 671) | def __len__(self) -> int: ... class Sequence (line 673) | class Sequence(Reversible[_T_co], Collection[_T_co]): method __getitem__ (line 676) | def __getitem__(self, index: int, /) -> _T_co: ... method __getitem__ (line 679) | def __getitem__(self, index: slice[int | None], /) -> Sequence[_T_co]:... method index (line 681) | def index(self, value: Any, start: int = 0, stop: int = ..., /) -> int... method count (line 682) | def count(self, value: Any, /) -> int: ... method __contains__ (line 683) | def __contains__(self, value: object, /) -> bool: ... method __iter__ (line 684) | def __iter__(self) -> Iterator[_T_co]: ... method __reversed__ (line 685) | def __reversed__(self) -> Iterator[_T_co]: ... class MutableSequence (line 687) | class MutableSequence(Sequence[_T]): method insert (line 689) | def insert(self, index: int, value: _T, /) -> None: ... method __getitem__ (line 692) | def __getitem__(self, index: int, /) -> _T: ... method __getitem__ (line 695) | def __getitem__(self, index: slice[int | None], /) -> MutableSequence[... method __setitem__ (line 698) | def __setitem__(self, index: int, value: _T, /) -> None: ... method __setitem__ (line 701) | def __setitem__(self, index: slice[int | None], value: Iterable[_T], /... method __delitem__ (line 704) | def __delitem__(self, index: int, /) -> None: ... method __delitem__ (line 707) | def __delitem__(self, index: slice[int | None], /) -> None: ... method append (line 709) | def append(self, value: _T, /) -> None: ... method clear (line 710) | def clear(self) -> None: ... method extend (line 711) | def extend(self, values: Iterable[_T], /) -> None: ... method reverse (line 712) | def reverse(self) -> None: ... method pop (line 713) | def pop(self, index: int = -1, /) -> _T: ... method remove (line 714) | def remove(self, value: _T, /) -> None: ... method __iadd__ (line 715) | def __iadd__(self, values: Iterable[_T], /) -> typing_extensions.Self:... class AbstractSet (line 717) | class AbstractSet(Collection[_T_co]): method __contains__ (line 719) | def __contains__(self, x: object, /) -> bool: ... method _hash (line 720) | def _hash(self) -> int: ... method _from_iterable (line 723) | def _from_iterable(cls, it: Iterable[_S], /) -> AbstractSet[_S]: ... method __le__ (line 724) | def __le__(self, other: AbstractSet[Any], /) -> bool: ... method __lt__ (line 725) | def __lt__(self, other: AbstractSet[Any], /) -> bool: ... method __gt__ (line 726) | def __gt__(self, other: AbstractSet[Any], /) -> bool: ... method __ge__ (line 727) | def __ge__(self, other: AbstractSet[Any], /) -> bool: ... method __and__ (line 728) | def __and__(self, other: AbstractSet[Any], /) -> AbstractSet[_T_co]: ... method __or__ (line 729) | def __or__(self, other: AbstractSet[_T], /) -> AbstractSet[_T_co | _T]... method __sub__ (line 730) | def __sub__(self, other: AbstractSet[Any], /) -> AbstractSet[_T_co]: ... method __xor__ (line 731) | def __xor__(self, other: AbstractSet[_T], /) -> AbstractSet[_T_co | _T... method __eq__ (line 732) | def __eq__(self, other: object, /) -> bool: ... method isdisjoint (line 733) | def isdisjoint(self, other: Iterable[Any], /) -> bool: ... class MutableSet (line 735) | class MutableSet(AbstractSet[_T]): method add (line 737) | def add(self, value: _T, /) -> None: ... method discard (line 739) | def discard(self, value: _T, /) -> None: ... method clear (line 741) | def clear(self) -> None: ... method pop (line 742) | def pop(self) -> _T: ... method remove (line 743) | def remove(self, value: _T, /) -> None: ... method __ior__ (line 744) | def __ior__(self, it: AbstractSet[_T], /) -> typing_extensions.Self: .... method __iand__ (line 745) | def __iand__(self, it: AbstractSet[Any], /) -> typing_extensions.Self:... method __ixor__ (line 746) | def __ixor__(self, it: AbstractSet[_T], /) -> typing_extensions.Self: ... method __isub__ (line 747) | def __isub__(self, it: AbstractSet[Any], /) -> typing_extensions.Self:... class MappingView (line 749) | class MappingView(Sized): method __init__ (line 751) | def __init__(self, mapping: Sized) -> None: ... # undocumented method __len__ (line 752) | def __len__(self) -> int: ... class ItemsView (line 754) | class ItemsView(MappingView, AbstractSet[tuple[_KT_co, _VT_co]], Generic... method __init__ (line 755) | def __init__(self, mapping: SupportsGetItemViewable[_KT_co, _VT_co]) -... method _from_iterable (line 757) | def _from_iterable(cls, it: Iterable[_S], /) -> set[_S]: ... method __and__ (line 758) | def __and__(self, other: Iterable[Any], /) -> set[tuple[_KT_co, _VT_co... method __rand__ (line 759) | def __rand__(self, other: Iterable[_T], /) -> set[_T]: ... method __contains__ (line 760) | def __contains__(self, item: tuple[object, object], /) -> bool: ... #... method __iter__ (line 761) | def __iter__(self) -> Iterator[tuple[_KT_co, _VT_co]]: ... method __or__ (line 762) | def __or__(self, other: Iterable[_T], /) -> set[tuple[_KT_co, _VT_co] ... method __ror__ (line 763) | def __ror__(self, other: Iterable[_T], /) -> set[tuple[_KT_co, _VT_co]... method __sub__ (line 764) | def __sub__(self, other: Iterable[Any], /) -> set[tuple[_KT_co, _VT_co... method __rsub__ (line 765) | def __rsub__(self, other: Iterable[_T], /) -> set[_T]: ... method __xor__ (line 766) | def __xor__(self, other: Iterable[_T], /) -> set[tuple[_KT_co, _VT_co]... method __rxor__ (line 767) | def __rxor__(self, other: Iterable[_T], /) -> set[tuple[_KT_co, _VT_co... class KeysView (line 769) | class KeysView(MappingView, AbstractSet[_KT_co]): method __init__ (line 770) | def __init__(self, mapping: Viewable[_KT_co]) -> None: ... # undocume... method _from_iterable (line 772) | def _from_iterable(cls, it: Iterable[_S], /) -> set[_S]: ... method __and__ (line 773) | def __and__(self, other: Iterable[Any], /) -> set[_KT_co]: ... method __rand__ (line 774) | def __rand__(self, other: Iterable[_T], /) -> set[_T]: ... method __contains__ (line 775) | def __contains__(self, key: object, /) -> bool: ... method __iter__ (line 776) | def __iter__(self) -> Iterator[_KT_co]: ... method __or__ (line 777) | def __or__(self, other: Iterable[_T], /) -> set[_KT_co | _T]: ... method __ror__ (line 778) | def __ror__(self, other: Iterable[_T], /) -> set[_KT_co | _T]: ... method __sub__ (line 779) | def __sub__(self, other: Iterable[Any], /) -> set[_KT_co]: ... method __rsub__ (line 780) | def __rsub__(self, other: Iterable[_T], /) -> set[_T]: ... method __xor__ (line 781) | def __xor__(self, other: Iterable[_T], /) -> set[_KT_co | _T]: ... method __rxor__ (line 782) | def __rxor__(self, other: Iterable[_T], /) -> set[_KT_co | _T]: ... class ValuesView (line 784) | class ValuesView(MappingView, Collection[_VT_co]): method __init__ (line 785) | def __init__(self, mapping: SupportsGetItemViewable[Any, _VT_co]) -> N... method __contains__ (line 786) | def __contains__(self, value: object, /) -> bool: ... method __iter__ (line 787) | def __iter__(self) -> Iterator[_VT_co]: ... class Mapping (line 794) | class Mapping(Collection[_KT], Generic[_KT, _VT_co]): method __getitem__ (line 798) | def __getitem__(self, key: _KT, /) -> _VT_co: ... method get (line 801) | def get(self, key: _KT, /) -> _VT_co | None: ... method get (line 803) | def get(self, key: _KT, default: _VT_co, /) -> _VT_co: ... # type: ig... method get (line 805) | def get(self, key: _KT, default: _T, /) -> _VT_co | _T: ... method items (line 806) | def items(self) -> ItemsView[_KT, _VT_co]: ... method keys (line 807) | def keys(self) -> KeysView[_KT]: ... method values (line 808) | def values(self) -> ValuesView[_VT_co]: ... method __contains__ (line 809) | def __contains__(self, key: object, /) -> bool: ... method __eq__ (line 810) | def __eq__(self, other: object, /) -> bool: ... class MutableMapping (line 812) | class MutableMapping(Mapping[_KT, _VT]): method __setitem__ (line 814) | def __setitem__(self, key: _KT, value: _VT, /) -> None: ... method __delitem__ (line 816) | def __delitem__(self, key: _KT, /) -> None: ... method clear (line 817) | def clear(self) -> None: ... method pop (line 819) | def pop(self, key: _KT, /) -> _VT: ... method pop (line 821) | def pop(self, key: _KT, default: _VT, /) -> _VT: ... method pop (line 823) | def pop(self, key: _KT, default: _T, /) -> _VT | _T: ... method popitem (line 824) | def popitem(self) -> tuple[_KT, _VT]: ... method setdefault (line 832) | def setdefault(self: MutableMapping[_KT, _T | None], key: _KT, default... method setdefault (line 834) | def setdefault(self, key: _KT, default: _VT, /) -> _VT: ... method update (line 856) | def update(self, m: SupportsKeysAndGetItem[_KT, _VT], /) -> None: ... method update (line 858) | def update(self: SupportsGetItem[str, _VT], m: SupportsKeysAndGetItem[... method update (line 860) | def update(self, m: Iterable[tuple[_KT, _VT]], /) -> None: ... method update (line 862) | def update(self: SupportsGetItem[str, _VT], m: Iterable[tuple[str, _VT... method update (line 864) | def update(self: SupportsGetItem[str, _VT], /, **kwargs: _VT) -> None:... class IO (line 873) | class IO(Generic[AnyStr]): method mode (line 879) | def mode(self) -> str: ... method name (line 883) | def name(self) -> str | Any: ... method close (line 885) | def close(self) -> None: ... method closed (line 887) | def closed(self) -> bool: ... method fileno (line 889) | def fileno(self) -> int: ... method flush (line 891) | def flush(self) -> None: ... method isatty (line 893) | def isatty(self) -> bool: ... method read (line 895) | def read(self, n: int = -1, /) -> AnyStr: ... method readable (line 897) | def readable(self) -> bool: ... method readline (line 899) | def readline(self, limit: int = -1, /) -> AnyStr: ... method readlines (line 901) | def readlines(self, hint: int = -1, /) -> list[AnyStr]: ... method seek (line 903) | def seek(self, offset: int, whence: int = 0, /) -> int: ... method seekable (line 905) | def seekable(self) -> bool: ... method tell (line 907) | def tell(self) -> int: ... method truncate (line 909) | def truncate(self, size: int | None = None, /) -> int: ... method writable (line 911) | def writable(self) -> bool: ... method write (line 914) | def write(self: IO[bytes], s: ReadableBuffer, /) -> int: ... method write (line 917) | def write(self, s: AnyStr, /) -> int: ... method writelines (line 920) | def writelines(self: IO[bytes], lines: Iterable[ReadableBuffer], /) ->... method writelines (line 923) | def writelines(self, lines: Iterable[AnyStr], /) -> None: ... method __next__ (line 925) | def __next__(self) -> AnyStr: ... method __iter__ (line 927) | def __iter__(self) -> Iterator[AnyStr]: ... method __enter__ (line 929) | def __enter__(self) -> IO[AnyStr]: ... method __exit__ (line 931) | def __exit__( class BinaryIO (line 935) | class BinaryIO(IO[bytes]): method __enter__ (line 938) | def __enter__(self) -> BinaryIO: ... class TextIO (line 940) | class TextIO(IO[str]): method buffer (line 944) | def buffer(self) -> BinaryIO: ... method encoding (line 946) | def encoding(self) -> str: ... method errors (line 948) | def errors(self) -> str | None: ... method line_buffering (line 950) | def line_buffering(self) -> int: ... # int on PyPy, bool on CPython method newlines (line 952) | def newlines(self) -> Any: ... # None, str or tuple method __enter__ (line 954) | def __enter__(self) -> TextIO: ... function get_type_hints (line 973) | def get_type_hints( function get_type_hints (line 983) | def get_type_hints( function get_args (line 990) | def get_args(tp: Any) -> tuple[Any, ...]: ... # AnnotationForm function get_origin (line 994) | def get_origin(tp: ParamSpecArgs | ParamSpecKwargs) -> ParamSpec: ... function get_origin (line 996) | def get_origin(tp: UnionType) -> type[UnionType]: ... function get_origin (line 999) | def get_origin(tp: GenericAlias) -> type: ... function get_origin (line 1001) | def get_origin(tp: Any) -> Any | None: ... # AnnotationForm function cast (line 1003) | def cast(typ: type[_T], val: Any) -> _T: ... function cast (line 1005) | def cast(typ: str, val: Any) -> Any: ... function cast (line 1007) | def cast(typ: object, val: Any) -> Any: ... function reveal_type (line 1010) | def reveal_type(obj: _T, /) -> _T: ... function assert_never (line 1011) | def assert_never(arg: Never, /) -> Never: ... function assert_type (line 1012) | def assert_type(val: _T, typ: Any, /) -> _T: ... # AnnotationForm function clear_overloads (line 1013) | def clear_overloads() -> None: ... function get_overloads (line 1014) | def get_overloads(func: Callable[..., object]) -> Sequence[Callable[...,... function dataclass_transform (line 1015) | def dataclass_transform( class NamedTuple (line 1028) | class NamedTuple(tuple[Any, ...]): method __init__ (line 1037) | def __init__(self, typename: str, fields: Iterable[tuple[str, Any]], /... method __init__ (line 1042) | def __init__(self, typename: str, fields: None = None, /, **kwargs: An... method _make (line 1044) | def _make(cls, iterable: Iterable[Any]) -> typing_extensions.Self: ... method _asdict (line 1045) | def _asdict(self) -> dict[str, Any]: ... method _replace (line 1046) | def _replace(self, **kwargs: Any) -> typing_extensions.Self: ... method __replace__ (line 1048) | def __replace__(self, **kwargs: Any) -> typing_extensions.Self: ... class _TypedDict (line 1054) | class _TypedDict(Mapping[str, object], metaclass=ABCMeta): method copy (line 1066) | def copy(self) -> typing_extensions.Self: ... method setdefault (line 1069) | def setdefault(self, k: _Never, default: object) -> object: ... method pop (line 1071) | def pop(self, k: _Never, default: _T = ...) -> object: ... # pyright:... method update (line 1072) | def update(self, m: typing_extensions.Self, /) -> None: ... method __delitem__ (line 1073) | def __delitem__(self, k: _Never) -> None: ... method items (line 1074) | def items(self) -> dict_items[str, object]: ... method keys (line 1075) | def keys(self) -> dict_keys[str, object]: ... method values (line 1076) | def values(self) -> dict_values[str, object]: ... method __or__ (line 1078) | def __or__(self, value: typing_extensions.Self, /) -> typing_extension... method __or__ (line 1080) | def __or__(self, value: dict[str, Any], /) -> dict[str, object]: ... method __ror__ (line 1082) | def __ror__(self, value: typing_extensions.Self, /) -> typing_extensio... method __ror__ (line 1084) | def __ror__(self, value: dict[str, Any], /) -> dict[str, object]: ... method __ior__ (line 1086) | def __ior__(self, value: typing_extensions.Self, /) -> typing_extensio... function evaluate_forward_ref (line 1091) | def evaluate_forward_ref( class ForwardRef (line 1103) | class ForwardRef(_Final): method __init__ (line 1121) | def __init__( method _evaluate (line 1132) | def _evaluate( method _evaluate (line 1140) | def _evaluate( method _evaluate (line 1149) | def _evaluate( method _evaluate (line 1158) | def _evaluate( method __eq__ (line 1165) | def __eq__(self, other: object) -> bool: ... method __hash__ (line 1166) | def __hash__(self) -> int: ... method __or__ (line 1168) | def __or__(self, other: Any) -> _SpecialForm: ... method __ror__ (line 1169) | def __ror__(self, other: Any) -> _SpecialForm: ... function is_typeddict (line 1172) | def is_typeddict(tp: object) -> bool: ... function _type_repr (line 1174) | def _type_repr(obj: object) -> str: ... function override (line 1186) | def override(method: _F, /) -> _F: ... class TypeAliasType (line 1188) | class TypeAliasType: method __new__ (line 1189) | def __new__(cls, name: str, value: Any, *, type_params: tuple[_TypePar... method __value__ (line 1191) | def __value__(self) -> Any: ... # AnnotationForm method __type_params__ (line 1193) | def __type_params__(self) -> tuple[_TypeParameter, ...]: ... method __parameters__ (line 1195) | def __parameters__(self) -> tuple[Any, ...]: ... # AnnotationForm method __name__ (line 1197) | def __name__(self) -> str: ... method __module__ (line 1200) | def __module__(self) -> str | None: ... # type: ignore[override] method __getitem__ (line 1201) | def __getitem__(self, parameters: Any, /) -> GenericAlias: ... # Anno... method __or__ (line 1202) | def __or__(self, right: Any, /) -> _SpecialForm: ... method __ror__ (line 1203) | def __ror__(self, left: Any, /) -> _SpecialForm: ... method evaluate_value (line 1206) | def evaluate_value(self) -> EvaluateFunc: ... function is_protocol (line 1209) | def is_protocol(tp: type, /) -> bool: ... function get_protocol_members (line 1210) | def get_protocol_members(tp: type, /) -> frozenset[str]: ... class _NoDefaultType (line 1213) | class _NoDefaultType: ... FILE: crates/monty-typeshed/vendor/typeshed/stdlib/typing_extensions.pyi function runtime_checkable (line 218) | def runtime_checkable(cls: _TC) -> _TC: ... function final (line 224) | def final(f: _F) -> _F: ... function disjoint_base (line 225) | def disjoint_base(cls: _TC) -> _TC: ... function IntVar (line 229) | def IntVar(name: str) -> Any: ... # returns a new TypeVar class _TypedDict (line 234) | class _TypedDict(Mapping[str, object], metaclass=abc.ABCMeta): method copy (line 245) | def copy(self) -> Self: ... method setdefault (line 248) | def setdefault(self, k: Never, default: object) -> object: ... method pop (line 250) | def pop(self, k: Never, default: _T = ...) -> object: ... # pyright: ... method update (line 251) | def update(self, m: Self, /) -> None: ... method items (line 252) | def items(self) -> dict_items[str, object]: ... method keys (line 253) | def keys(self) -> dict_keys[str, object]: ... method values (line 254) | def values(self) -> dict_values[str, object]: ... method __delitem__ (line 255) | def __delitem__(self, k: Never) -> None: ... method __or__ (line 257) | def __or__(self, value: Self, /) -> Self: ... method __or__ (line 259) | def __or__(self, value: dict[str, Any], /) -> dict[str, object]: ... method __ror__ (line 261) | def __ror__(self, value: Self, /) -> Self: ... method __ror__ (line 263) | def __ror__(self, value: dict[str, Any], /) -> dict[str, object]: ... method __ior__ (line 266) | def __ior__(self, value: Self, /) -> Self: ... # type: ignore[misc] function get_type_hints (line 273) | def get_type_hints( function get_args (line 280) | def get_args(tp: AnnotationForm) -> tuple[AnnotationForm, ...]: ... function get_origin (line 284) | def get_origin(tp: UnionType) -> type[UnionType]: ... function get_origin (line 287) | def get_origin(tp: GenericAlias) -> type: ... function get_origin (line 289) | def get_origin(tp: ParamSpecArgs | ParamSpecKwargs) -> ParamSpec: ... function get_origin (line 291) | def get_origin(tp: AnnotationForm) -> AnnotationForm | None: ... class ParamSpecArgs (line 308) | class ParamSpecArgs: method __origin__ (line 310) | def __origin__(self) -> ParamSpec: ... method __init__ (line 311) | def __init__(self, origin: ParamSpec) -> None: ... class ParamSpecKwargs (line 314) | class ParamSpecKwargs: method __origin__ (line 316) | def __origin__(self) -> ParamSpec: ... method __init__ (line 317) | def __init__(self, origin: ParamSpec) -> None: ... function is_typeddict (line 322) | def is_typeddict(tp: object) -> bool: ... function reveal_type (line 345) | def reveal_type(obj: _T, /) -> _T: ... function assert_never (line 346) | def assert_never(arg: Never, /) -> Never: ... function assert_type (line 347) | def assert_type(val: _T, typ: AnnotationForm, /) -> _T: ... function clear_overloads (line 348) | def clear_overloads() -> None: ... function get_overloads (line 349) | def get_overloads(func: Callable[..., object]) -> Sequence[Callable[...,... function dataclass_transform (line 356) | def dataclass_transform( class NamedTuple (line 366) | class NamedTuple(tuple[Any, ...]): method __init__ (line 371) | def __init__(self, typename: str, fields: Iterable[tuple[str, Any]] = ... method __init__ (line 373) | def __init__(self, typename: str, fields: None = None, **kwargs: Any) ... method _make (line 375) | def _make(cls, iterable: Iterable[Any]) -> Self: ... method _asdict (line 376) | def _asdict(self) -> dict[str, Any]: ... method _replace (line 377) | def _replace(self, **kwargs: Any) -> Self: ... class NewType (line 379) | class NewType: method __init__ (line 380) | def __init__(self, name: str, tp: AnnotationForm) -> None: ... method __call__ (line 381) | def __call__(self, obj: _T, /) -> _T: ... method __or__ (line 385) | def __or__(self, other: Any) -> _SpecialForm: ... method __ror__ (line 386) | def __ror__(self, other: Any) -> _SpecialForm: ... function override (line 402) | def override(arg: _F, /) -> _F: ... function get_original_bases (line 403) | def get_original_bases(cls: type, /) -> tuple[Any, ...]: ... class Buffer (line 409) | class Buffer(Protocol, abc.ABC): # type: ignore[misc] # pyright: ignor... method __buffer__ (line 412) | def __buffer__(self, flags: int, /) -> memoryview: ... class SupportsInt (line 415) | class SupportsInt(Protocol, metaclass=abc.ABCMeta): method __int__ (line 418) | def __int__(self) -> int: ... class SupportsFloat (line 421) | class SupportsFloat(Protocol, metaclass=abc.ABCMeta): method __float__ (line 424) | def __float__(self) -> float: ... class SupportsComplex (line 427) | class SupportsComplex(Protocol, metaclass=abc.ABCMeta): method __complex__ (line 430) | def __complex__(self) -> complex: ... class SupportsBytes (line 433) | class SupportsBytes(Protocol, metaclass=abc.ABCMeta): method __bytes__ (line 436) | def __bytes__(self) -> bytes: ... class SupportsIndex (line 439) | class SupportsIndex(Protocol, metaclass=abc.ABCMeta): method __index__ (line 442) | def __index__(self) -> int: ... class SupportsAbs (line 445) | class SupportsAbs(Protocol[_T_co]): method __abs__ (line 448) | def __abs__(self) -> _T_co: ... class SupportsRound (line 451) | class SupportsRound(Protocol[_T_co]): method __round__ (line 455) | def __round__(self) -> int: ... method __round__ (line 458) | def __round__(self, ndigits: int, /) -> _T_co: ... class Reader (line 464) | class Reader(Protocol[_T_co]): method read (line 467) | def read(self, size: int = ..., /) -> _T_co: ... class Writer (line 470) | class Writer(Protocol[_T_contra]): method write (line 473) | def write(self, data: _T_contra, /) -> int: ... function is_protocol (line 489) | def is_protocol(tp: type, /) -> bool: ... function get_protocol_members (line 490) | def get_protocol_members(tp: type, /) -> frozenset[str]: ... class _NoDefaultType (line 493) | class _NoDefaultType: ... class CapsuleType (line 497) | class CapsuleType: ... class deprecated (line 499) | class deprecated: method __init__ (line 503) | def __init__( method __call__ (line 506) | def __call__(self, arg: _T, /) -> _T: ... class TypeVar (line 509) | class TypeVar: method __name__ (line 511) | def __name__(self) -> str: ... method __bound__ (line 513) | def __bound__(self) -> AnnotationForm | None: ... method __constraints__ (line 515) | def __constraints__(self) -> tuple[AnnotationForm, ...]: ... method __covariant__ (line 517) | def __covariant__(self) -> bool: ... method __contravariant__ (line 519) | def __contravariant__(self) -> bool: ... method __infer_variance__ (line 521) | def __infer_variance__(self) -> bool: ... method __default__ (line 523) | def __default__(self) -> AnnotationForm: ... method __init__ (line 524) | def __init__( method has_default (line 534) | def has_default(self) -> bool: ... method __typing_prepare_subst__ (line 535) | def __typing_prepare_subst__(self, alias: Any, args: Any) -> tuple[Any... method __or__ (line 537) | def __or__(self, right: Any) -> _SpecialForm: ... method __ror__ (line 538) | def __ror__(self, left: Any) -> _SpecialForm: ... method __typing_subst__ (line 540) | def __typing_subst__(self, arg: Any) -> Any: ... class ParamSpec (line 543) | class ParamSpec: method __name__ (line 545) | def __name__(self) -> str: ... method __bound__ (line 547) | def __bound__(self) -> AnnotationForm | None: ... method __covariant__ (line 549) | def __covariant__(self) -> bool: ... method __contravariant__ (line 551) | def __contravariant__(self) -> bool: ... method __infer_variance__ (line 553) | def __infer_variance__(self) -> bool: ... method __default__ (line 555) | def __default__(self) -> AnnotationForm: ... method __init__ (line 556) | def __init__( method args (line 566) | def args(self) -> ParamSpecArgs: ... method kwargs (line 568) | def kwargs(self) -> ParamSpecKwargs: ... method has_default (line 569) | def has_default(self) -> bool: ... method __typing_prepare_subst__ (line 570) | def __typing_prepare_subst__(self, alias: Any, args: Any) -> tuple[Any... method __or__ (line 572) | def __or__(self, right: Any) -> _SpecialForm: ... method __ror__ (line 573) | def __ror__(self, left: Any) -> _SpecialForm: ... class TypeVarTuple (line 576) | class TypeVarTuple: method __name__ (line 578) | def __name__(self) -> str: ... method __default__ (line 580) | def __default__(self) -> AnnotationForm: ... method __init__ (line 581) | def __init__(self, name: str, *, default: AnnotationForm = ...) -> Non... method __iter__ (line 582) | def __iter__(self) -> Any: ... # Unpack[Self] method has_default (line 583) | def has_default(self) -> bool: ... method __typing_prepare_subst__ (line 584) | def __typing_prepare_subst__(self, alias: Any, args: Any) -> tuple[Any... class TypeAliasType (line 594) | class TypeAliasType: method __init__ (line 595) | def __init__( method __value__ (line 599) | def __value__(self) -> AnnotationForm: ... method __type_params__ (line 601) | def __type_params__(self) -> tuple[TypeVar | ParamSpec | TypeVarTuple,... method __parameters__ (line 605) | def __parameters__(self) -> tuple[TypeVar | ParamSpec | AnnotationForm... method __name__ (line 607) | def __name__(self) -> str: ... method __module__ (line 610) | def __module__(self) -> str | None: ... # type: ignore[override] method __getitem__ (line 612) | def __getitem__(self, parameters: Incomplete | tuple[Incomplete, ...])... method __init_subclass__ (line 613) | def __init_subclass__(cls, *args: Unused, **kwargs: Unused) -> NoRetur... method __or__ (line 615) | def __or__(self, right: Any, /) -> _SpecialForm: ... method __ror__ (line 616) | def __ror__(self, left: Any, /) -> _SpecialForm: ... class Doc (line 619) | class Doc: method __init__ (line 621) | def __init__(self, documentation: str, /) -> None: ... method __hash__ (line 622) | def __hash__(self) -> int: ... method __eq__ (line 623) | def __eq__(self, other: object) -> bool: ... class _NoExtraItemsType (line 627) | class _NoExtraItemsType: ... class Format (line 640) | class Format(enum.IntEnum): function get_annotations (line 647) | def get_annotations( function get_annotations (line 656) | def get_annotations( function get_annotations (line 665) | def get_annotations( function evaluate_forward_ref (line 674) | def evaluate_forward_ref( function evaluate_forward_ref (line 685) | def evaluate_forward_ref( function evaluate_forward_ref (line 696) | def evaluate_forward_ref( function type_repr (line 706) | def type_repr(value: object) -> str: ... class Sentinel (line 709) | class Sentinel: method __init__ (line 710) | def __init__(self, name: str, repr: str | None = None) -> None: ... method __or__ (line 712) | def __or__(self, other: Any) -> UnionType: ... # other can be any typ... method __ror__ (line 713) | def __ror__(self, other: Any) -> UnionType: ... # other can be any ty... method __or__ (line 715) | def __or__(self, other: Any) -> _SpecialForm: ... # other can be any ... method __ror__ (line 716) | def __ror__(self, other: Any) -> _SpecialForm: ... # other can be any... FILE: crates/monty/benches/main.rs function run_monty (line 18) | fn run_monty(bench: &mut Bencher, code: &str, expected: i64) { function run_cpython (line 34) | fn run_cpython(bench: &mut Bencher, code: &str, expected: i64) { function wrap_for_cpython (line 59) | fn wrap_for_cpython(code: &str) -> String { constant ADD_TWO (line 84) | const ADD_TWO: &str = "1 + 2"; constant LIST_APPEND (line 86) | const LIST_APPEND: &str = " constant LOOP_MOD_13 (line 92) | const LOOP_MOD_13: &str = " constant KITCHEN_SINK (line 102) | const KITCHEN_SINK: &str = include_str!("../test_cases/bench__kitchen_si... constant FUNC_CALL_KWARGS (line 104) | const FUNC_CALL_KWARGS: &str = " constant LIST_APPEND_STR (line 111) | const LIST_APPEND_STR: &str = " constant LIST_APPEND_INT (line 118) | const LIST_APPEND_INT: &str = " constant FIB_25 (line 125) | const FIB_25: &str = " constant LIST_COMP (line 135) | const LIST_COMP: &str = "len([x * 2 for x in range(1000)])"; constant DICT_COMP (line 138) | const DICT_COMP: &str = "len({i // 2: i * 2 for i in range(1000)})"; constant EMPTY_TUPLES (line 141) | const EMPTY_TUPLES: &str = "len([() for _ in range(100_000)])"; constant PAIR_TUPLES (line 144) | const PAIR_TUPLES: &str = "len([(i, i + 1) for i in range(100_000)])"; function end_to_end_monty (line 148) | fn end_to_end_monty(bench: &mut Bencher) { function end_to_end_cpython (line 160) | fn end_to_end_cpython(bench: &mut Bencher) { function criterion_benchmark (line 177) | fn criterion_benchmark(c: &mut Criterion) { FILE: crates/monty/build.rs function main (line 1) | fn main() { FILE: crates/monty/src/args.rs type ArgValues (line 22) | pub(crate) enum ArgValues { method check_zero_args (line 34) | pub fn check_zero_args(self, name: &str, heap: &mut Heap Self { method into_parts (line 198) | pub fn into_parts(self) -> (ArgPosIter, KwargsValues) { method into_pos_only (line 209) | pub fn into_pos_only(self, method_name: &str, heap: &mut Heap usize { method drop_with_heap (line 276) | fn drop_with_heap(self, heap: &mut H) { type ArgPosIter (line 303) | pub(crate) enum ArgPosIter { method as_slice (line 312) | pub fn as_slice(&self) -> &[Value] { type Item (line 323) | type Item = Value; method next (line 326) | fn next(&mut self) -> Option { method size_hint (line 347) | fn size_hint(&self) -> (usize, Option) { method drop_with_heap (line 360) | fn drop_with_heap(self, heap: &mut H) { type KwargsValues (line 375) | pub(crate) enum KwargsValues { method len (line 384) | pub fn len(&self) -> usize { method is_empty (line 394) | pub fn is_empty(&self) -> bool { method into_py_objects (line 401) | fn into_py_objects(self, vm: &mut VM<'_, '_, impl ResourceTracker>) ->... method not_supported_yet (line 420) | pub fn not_supported_yet(self, method_name: &str, heap: &mut Heap(self, heap: &mut H) { type Item (line 509) | type Item = (Value, Value); type IntoIter (line 510) | type IntoIter = KwargsValuesIter; method into_iter (line 512) | fn into_iter(self) -> Self::IntoIter { type KwargsValuesIter (line 526) | pub(crate) enum KwargsValuesIter { type Item (line 533) | type Item = (Value, Value); method next (line 535) | fn next(&mut self) -> Option { method size_hint (line 543) | fn size_hint(&self) -> (usize, Option) { method drop_with_heap (line 555) | fn drop_with_heap(self, heap: &mut H) { type Kwarg (line 575) | pub struct Kwarg { type CallArg (line 586) | pub(crate) enum CallArg { type CallKwarg (line 601) | pub(crate) enum CallKwarg { type ArgExprs (line 610) | pub enum ArgExprs { method new_generalized (line 643) | pub(crate) fn new_generalized(args: Vec, kwargs: Vec Self { method raw (line 26) | pub fn raw(self) -> u32 { type TaskId (line 37) | pub(crate) struct TaskId(u32); method new (line 42) | pub fn new(id: u32) -> Self { method raw (line 48) | pub fn raw(self) -> u32 { method is_main (line 54) | pub fn is_main(self) -> bool { type CoroutineState (line 64) | pub(crate) enum CoroutineState { type Coroutine (line 92) | pub(crate) struct Coroutine { method new (line 107) | pub fn new(func_id: FunctionId, namespace: Vec) -> Self { type GatherItem (line 118) | pub(crate) enum GatherItem { type GatherFuture (line 142) | pub(crate) struct GatherFuture { method new (line 163) | pub fn new(items: Vec) -> Self { method item_count (line 176) | pub fn item_count(&self) -> usize { FILE: crates/monty/src/builtins/abs.rs function builtin_abs (line 21) | pub fn builtin_abs(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... FILE: crates/monty/src/builtins/all.rs function builtin_all (line 17) | pub fn builtin_all(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... FILE: crates/monty/src/builtins/any.rs function builtin_any (line 17) | pub fn builtin_any(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... FILE: crates/monty/src/builtins/bin.rs function builtin_bin (line 21) | pub fn builtin_bin(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... function format_bigint_bin (line 53) | fn format_bigint_bin(bi: &BigInt) -> String { FILE: crates/monty/src/builtins/chr.rs function builtin_chr (line 17) | pub fn builtin_chr(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... FILE: crates/monty/src/builtins/divmod.rs function builtin_divmod (line 22) | pub fn builtin_divmod(vm: &mut VM<'_, '_, impl ResourceTracker>, args: A... function bigint_floor_divmod (line 162) | fn bigint_floor_divmod(a: &BigInt, b: &BigInt) -> (BigInt, BigInt) { FILE: crates/monty/src/builtins/enumerate.rs function builtin_enumerate (line 20) | pub fn builtin_enumerate(vm: &mut VM<'_, '_, impl ResourceTracker>, args... FILE: crates/monty/src/builtins/filter.rs function builtin_filter (line 33) | pub fn builtin_filter(vm: &mut VM<'_, '_, impl ResourceTracker>, args: A... FILE: crates/monty/src/builtins/getattr.rs function builtin_getattr (line 30) | pub fn builtin_getattr(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ... FILE: crates/monty/src/builtins/hash.rs function builtin_hash (line 17) | pub fn builtin_hash(vm: &mut VM<'_, '_, impl ResourceTracker>, args: Arg... FILE: crates/monty/src/builtins/hex.rs function builtin_hex (line 21) | pub fn builtin_hex(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... function format_bigint_hex (line 52) | fn format_bigint_hex(bi: &BigInt) -> String { FILE: crates/monty/src/builtins/id.rs function builtin_id (line 10) | pub fn builtin_id(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgVa... FILE: crates/monty/src/builtins/isinstance.rs function builtin_isinstance (line 18) | pub fn builtin_isinstance(vm: &mut VM<'_, '_, impl ResourceTracker>, arg... function isinstance_check (line 42) | fn isinstance_check(obj_type: Type, classinfo: &Value, heap: &Heap, args: ArgV... FILE: crates/monty/src/builtins/map.rs function builtin_map (line 28) | pub fn builtin_map(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... FILE: crates/monty/src/builtins/min_max.rs function builtin_min (line 23) | pub fn builtin_min(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... function builtin_max (line 33) | pub fn builtin_max(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... function builtin_min_max (line 40) | fn builtin_min_max(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... function parse_min_max_kwargs (line 175) | fn parse_min_max_kwargs( function evaluate_key (line 205) | fn evaluate_key( function candidate_wins (line 219) | fn candidate_wins( function default_with_multiple_args (line 234) | fn default_with_multiple_args(func_name: &str) -> RunError { function ord_not_supported (line 243) | fn ord_not_supported(left: &Value, right: &Value, is_min: bool, heap: &H... FILE: crates/monty/src/builtins/mod.rs type Builtins (line 53) | pub(crate) enum Builtins { method call (line 64) | pub fn call(self, vm: &mut VM<'_, '_, impl ResourceTracker>, args: Arg... method py_repr_fmt (line 73) | pub fn py_repr_fmt(self, f: &mut W) -> std::fmt::Result { method py_type (line 82) | pub fn py_type(self) -> Type { type Err (line 92) | type Err = (); method from_str (line 94) | fn from_str(s: &str) -> Result { type BuiltinsFunctions (line 134) | pub enum BuiltinsFunctions { method call (line 213) | pub(crate) fn call(self, vm: &mut VM<'_, '_, impl ResourceTracker>, ar... FILE: crates/monty/src/builtins/next.rs function builtin_next (line 17) | pub fn builtin_next(vm: &mut VM<'_, '_, impl ResourceTracker>, args: Arg... FILE: crates/monty/src/builtins/oct.rs function builtin_oct (line 21) | pub fn builtin_oct(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... function format_bigint_oct (line 53) | fn format_bigint_oct(bi: &BigInt) -> String { FILE: crates/monty/src/builtins/ord.rs function builtin_ord (line 17) | pub fn builtin_ord(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... FILE: crates/monty/src/builtins/pow.rs function builtin_pow (line 21) | pub fn builtin_pow(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... function normalize_bool (line 76) | fn normalize_bool(value: &Value) -> &Value { function mod_pow (line 89) | fn mod_pow(base: i64, exp: u64, modulo: i64) -> i64 { function checked_pow_i64 (line 117) | fn checked_pow_i64(mut base: i64, mut exp: u32) -> Option { function two_arg_pow (line 136) | fn two_arg_pow(base: &Value, exp: &Value, heap: &mut Heap) ->... function int_pow_longint (line 250) | fn int_pow_longint(b: i64, e: &BigInt, heap: &mut Heap RunResult { function i64_bits (line 359) | fn i64_bits(value: i64) -> u64 { FILE: crates/monty/src/builtins/print.rs function builtin_print (line 23) | pub fn builtin_print(vm: &mut VM<'_, '_, impl ResourceTracker>, args: Ar... function extract_print_kwargs (line 58) | fn extract_print_kwargs( function extract_string_kwarg (line 116) | fn extract_string_kwarg( FILE: crates/monty/src/builtins/repr.rs function builtin_repr (line 11) | pub fn builtin_repr(vm: &mut VM<'_, '_, impl ResourceTracker>, args: Arg... FILE: crates/monty/src/builtins/reversed.rs function builtin_reversed (line 17) | pub fn builtin_reversed(vm: &mut VM<'_, '_, impl ResourceTracker>, args:... FILE: crates/monty/src/builtins/round.rs function normalize_bool_to_int (line 13) | pub fn normalize_bool_to_int(value: Value) -> Value { function builtin_round (line 25) | pub fn builtin_round(vm: &mut VM<'_, '_, impl ResourceTracker>, args: Ar... function bankers_round (line 101) | fn bankers_round(value: f64) -> f64 { function round_float_to_digits (line 122) | fn round_float_to_digits(value: f64, digits: i64) -> f64 { function f64_to_i64 (line 167) | fn f64_to_i64(value: f64) -> i64 { FILE: crates/monty/src/builtins/sorted.rs function builtin_sorted (line 22) | pub fn builtin_sorted(vm: &mut VM<'_, '_, impl ResourceTracker>, args: A... function parse_sorted_args (line 71) | fn parse_sorted_args( FILE: crates/monty/src/builtins/sum.rs function builtin_sum (line 19) | pub fn builtin_sum(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... FILE: crates/monty/src/builtins/type_.rs function builtin_type (line 12) | pub fn builtin_type(vm: &mut VM<'_, '_, impl ResourceTracker>, args: Arg... FILE: crates/monty/src/builtins/zip.rs function builtin_zip (line 19) | pub fn builtin_zip(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgV... FILE: crates/monty/src/bytecode/builder.rs type CodeBuilder (line 32) | pub struct CodeBuilder { method new (line 73) | pub fn new() -> Self { method set_location (line 82) | pub fn set_location(&mut self, range: CodeRange, focus: Option JumpLabel { method patch_jump (line 305) | pub fn patch_jump(&mut self, label: JumpLabel) { method emit_jump_to (line 322) | pub fn emit_jump_to(&mut self, op: Opcode, target: usize) { method current_offset (line 343) | pub fn current_offset(&self) -> usize { method register_local_name (line 356) | pub fn register_local_name(&mut self, slot: u16, name: StringId) { method register_assigned_local (line 373) | pub fn register_assigned_local(&mut self, slot: u16) { method emit_load_local (line 378) | pub fn emit_load_local(&mut self, slot: u16) { method emit_load_local_callable (line 400) | pub fn emit_load_local_callable(&mut self, slot: u16, name_id: StringI... method emit_load_global_callable (line 424) | pub fn emit_load_global_callable(&mut self, slot: u16, name_id: String... method emit_store_local (line 434) | pub fn emit_store_local(&mut self, slot: u16) { method add_const (line 449) | pub fn add_const(&mut self, value: Value) -> u16 { method add_exception_entry (line 459) | pub fn add_exception_entry(&mut self, entry: ExceptionEntry) { method stack_depth (line 465) | pub fn stack_depth(&self) -> u16 { method build (line 474) | pub fn build(self, num_locals: u16) -> Code { method record_location (line 492) | fn record_location(&mut self) { method set_stack_depth (line 505) | pub fn set_stack_depth(&mut self, depth: u16) { method adjust_stack (line 514) | fn adjust_stack(&mut self, delta: i16) { method track_stack_effect_u8 (line 527) | fn track_stack_effect_u8(&mut self, op: Opcode, operand: u8) { method track_stack_effect_u16 (line 547) | fn track_stack_effect_u16(&mut self, op: Opcode, operand: u16) { method adjust_stack_depth (line 568) | pub fn adjust_stack_depth(&mut self, delta: i16) { type JumpLabel (line 578) | pub struct JumpLabel(usize); function test_emit_basic (line 585) | fn test_emit_basic() { function test_emit_u8_operand (line 595) | fn test_emit_u8_operand() { function test_emit_u16_operand (line 604) | fn test_emit_u16_operand() { function test_forward_jump (line 613) | fn test_forward_jump() { function test_backward_jump (line 640) | fn test_backward_jump() { function test_load_local_specialization (line 664) | fn test_load_local_specialization() { function test_add_const (line 691) | fn test_add_const() { FILE: crates/monty/src/bytecode/code.rs type Code (line 16) | pub struct Code { method new (line 73) | pub fn new( method bytecode (line 97) | pub fn bytecode(&self) -> &[u8] { method constants (line 103) | pub fn constants(&self) -> &ConstPool { method local_name (line 111) | pub fn local_name(&self, slot: u16) -> Option { method is_assigned_local (line 120) | pub fn is_assigned_local(&self, slot: u16) -> bool { method location_for_offset (line 132) | pub fn location_for_offset(&self, offset: usize) -> Option<&LocationEn... method find_exception_handler (line 150) | pub fn find_exception_handler(&self, offset: u32) -> Option<&Exception... type ConstPool (line 163) | pub(crate) struct ConstPool { method from_vec (line 178) | pub fn from_vec(values: Vec) -> Self { method get (line 189) | pub fn get(&self, index: u16) -> &Value { method clone (line 169) | fn clone(&self) -> Self { type LocationEntry (line 206) | pub struct LocationEntry { method new (line 226) | pub fn new(bytecode_offset: u32, range: CodeRange, focus: Option CodeRange { type ExceptionEntry (line 263) | pub struct ExceptionEntry { method new (line 284) | pub fn new(start: u32, end: u32, handler: u32, stack_depth: u16) -> Se... method handler (line 295) | pub fn handler(&self) -> u32 { method stack_depth (line 301) | pub fn stack_depth(&self) -> u16 { method contains (line 307) | pub fn contains(&self, offset: u32) -> bool { FILE: crates/monty/src/bytecode/compiler.rs constant MAX_CALL_ARGS (line 40) | const MAX_CALL_ARGS: usize = 255; type Compiler (line 52) | pub struct Compiler<'a> { type LoopInfo (line 102) | struct LoopInfo { type BreakContinueThruFinally (line 117) | struct BreakContinueThruFinally { type FinallyTarget (line 128) | struct FinallyTarget { type CompileResult (line 141) | pub struct CompileResult { function new (line 150) | fn new(interns: &'a Interns, functions: Vec) -> Self { function compile_module (line 167) | pub fn compile_module( function compile_module_with_functions (line 180) | pub fn compile_module_with_functions( function compile_function_body (line 209) | fn compile_function_body( function compile_block (line 226) | fn compile_block(&mut self, nodes: &[PreparedNode]) -> Result<(), Compil... function compile_stmt (line 238) | fn compile_stmt(&mut self, node: &PreparedNode) -> Result<(), CompileErr... function compile_function_def (line 394) | fn compile_function_def(&mut self, func_def: &PreparedFunctionDef) -> Re... function compile_lambda (line 474) | fn compile_lambda(&mut self, func_def: &PreparedFunctionDef) -> Result<(... function compile_import (line 551) | fn compile_import(&mut self, module_name: StringId, binding: &Identifier) { function compile_import_from (line 575) | fn compile_import_from(&mut self, module_name: StringId, names: &[(Strin... function compile_expr (line 610) | fn compile_expr(&mut self, expr_loc: &ExprLoc) -> Result<(), CompileErro... function compile_literal (line 923) | fn compile_literal(&mut self, literal: &Literal) { function compile_name (line 963) | fn compile_name(&mut self, ident: &Identifier) { function compile_name_callable (line 1008) | fn compile_name_callable(&mut self, ident: &Identifier) { function compile_store (line 1036) | fn compile_store(&mut self, target: &Identifier) { function compile_binary_op (line 1065) | fn compile_binary_op( function compile_chain_comparison (line 1122) | fn compile_chain_comparison( function compile_if (line 1193) | fn compile_if( function compile_if_else_expr (line 1219) | fn compile_if_else_expr(&mut self, test: &ExprLoc, body: &ExprLoc, orels... function compile_call (line 1239) | fn compile_call(&mut self, callable: &Callable, args: &ArgExprs, call_po... function compile_call_args (line 1406) | fn compile_call_args(&mut self, args: &ArgExprs, call_pos: CodeRange) ->... function compile_call_args_with_unpacking (line 1525) | fn compile_call_args_with_unpacking( function compile_builtin_call (line 1595) | fn compile_builtin_call(&mut self, args: &ArgExprs, call_pos: CodeRange)... function compile_call_with_unpacking (line 1633) | fn compile_call_with_unpacking( function get_callable_name_id (line 1708) | fn get_callable_name_id(&self, callable: &Callable) -> u16 { function get_builtin_name_id (line 1720) | fn get_builtin_name_id(&self, builtin: Builtins) -> Option { function compile_method_call (line 1740) | fn compile_method_call( function compile_method_call_with_unpacking (line 1932) | fn compile_method_call_with_unpacking( function compile_generalized_call_body (line 2014) | fn compile_generalized_call_body( function compile_for (line 2069) | fn compile_for( function compile_while (line 2147) | fn compile_while( function compile_break (line 2196) | fn compile_break(&mut self, position: CodeRange) -> Result<(), CompileEr... function compile_continue (line 2252) | fn compile_continue(&mut self, position: CodeRange) -> Result<(), Compil... function compile_control_flow_after_finally (line 2304) | fn compile_control_flow_after_finally(&mut self, items: &[BreakContinueT... function compile_list_comp (line 2366) | fn compile_list_comp(&mut self, elt: &ExprLoc, generators: &[Comprehensi... function compile_set_comp (line 2382) | fn compile_set_comp(&mut self, elt: &ExprLoc, generators: &[Comprehensio... function compile_dict_comp (line 2398) | fn compile_dict_comp( function compile_comprehension_generators (line 2430) | fn compile_comprehension_generators( function compile_unpack_target (line 2487) | fn compile_unpack_target(&mut self, target: &UnpackTarget) { function compile_assert (line 2529) | fn compile_assert(&mut self, test: &ExprLoc, msg: Option<&ExprLoc>) -> R... function compile_fstring_parts (line 2560) | fn compile_fstring_parts(&mut self, parts: &[FStringPart]) -> Result u16 { function compile_return (line 2667) | fn compile_return(&mut self) { function compile_try (line 2712) | fn compile_try(&mut self, try_block: &Try) -> Result<(), C... function compile_exception_handlers (line 2917) | fn compile_exception_handlers( function compile_delete (line 3059) | fn compile_delete(&mut self, target: &Identifier) { type CompileError (line 3091) | pub struct CompileError { method new (line 3104) | fn new(message: impl Into>, position: CodeRange) -> ... method into_python_exc (line 3117) | pub fn into_python_exc(self, filename: &str, source: &str) -> MontyExc... function operator_to_opcode (line 3137) | fn operator_to_opcode(op: &Operator) -> Opcode { function operator_to_inplace_opcode (line 3169) | fn operator_to_inplace_opcode(op: &Operator) -> Option { function cmp_operator_to_opcode (line 3191) | fn cmp_operator_to_opcode(op: &CmpOperator) -> Opcode { function has_unpack_seq (line 3213) | fn has_unpack_seq(items: &[SequenceItem]) -> bool { function has_unpack_dict (line 3221) | fn has_unpack_dict(items: &[DictItem]) -> bool { FILE: crates/monty/src/bytecode/op.rs type Opcode (line 26) | pub enum Opcode { type Error (line 444) | type Error = InvalidOpcodeError; method try_from (line 446) | fn try_from(byte: u8) -> Result { method stack_effect (line 459) | pub const fn stack_effect(self) -> Option { type InvalidOpcodeError (line 567) | pub struct InvalidOpcodeError(pub u8); method fmt (line 570) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function test_opcode_roundtrip (line 582) | fn test_opcode_roundtrip() { function test_serialized_opcode_values_remain_stable (line 591) | fn test_serialized_opcode_values_remain_stable() { function test_invalid_opcode (line 603) | fn test_invalid_opcode() { function test_opcode_size (line 613) | fn test_opcode_size() { FILE: crates/monty/src/bytecode/vm/async_exec.rs function exec_get_awaitable (line 34) | pub(super) fn exec_get_awaitable(&mut self) -> Result Resu... function await_gather_future (line 108) | fn await_gather_future(&mut self, heap_id: HeapId, awaitable: Value) -> ... function await_external_future (line 222) | fn await_external_future(&mut self, call_id: CallId) -> Result Result { function handle_task_completion (line 312) | pub(super) fn handle_task_completion(&mut self, result: Value) -> Result... function is_spawned_task (line 443) | pub(super) fn is_spawned_task(&self) -> bool { function handle_task_failure (line 460) | pub(super) fn handle_task_failure(&mut self, error: RunError) -> Result<... function save_task_context (line 524) | fn save_task_context(&mut self, task_id: TaskId) { function load_or_init_task (line 560) | fn load_or_init_task(&mut self, task_id: TaskId) -> Result<(), RunError> { function init_task_from_coroutine (line 623) | fn init_task_from_coroutine(&mut self, coroutine_id: HeapId) -> Result<(... function resolve_future (line 678) | pub fn resolve_future(&mut self, call_id: u32, obj: MontyObject) -> Resu... function fail_future (line 773) | pub fn fail_future(&mut self, call_id: u32, error: RunError) { function add_pending_call (line 841) | pub fn add_pending_call(&mut self, call_id: CallId) { function prepare_current_task_after_resolve (line 865) | pub fn prepare_current_task_after_resolve(&mut self) -> bool { function load_ready_task_if_needed (line 898) | pub fn load_ready_task_if_needed(&mut self) -> Result { function get_pending_call_ids (line 929) | pub fn get_pending_call_ids(&self) -> Vec { function take_failed_task_error (line 940) | pub fn take_failed_task_error(&mut self) -> Option { type AwaitableType (line 960) | enum AwaitableType { FILE: crates/monty/src/bytecode/vm/attr.rs function load_attr (line 17) | pub(super) fn load_attr(&mut self, name_id: StringId) -> Result Result Result<(), Run... FILE: crates/monty/src/bytecode/vm/binary.rs function binary_add (line 18) | pub(super) fn binary_add(&mut self) -> Result<(), RunError> { function binary_sub (line 46) | pub(super) fn binary_sub(&mut self) -> Result<(), RunError> { function binary_mult (line 81) | pub(super) fn binary_mult(&mut self) -> Result<(), RunError> { function binary_div (line 106) | pub(super) fn binary_div(&mut self) -> Result<(), RunError> { function binary_floordiv (line 131) | pub(super) fn binary_floordiv(&mut self) -> Result<(), RunError> { function binary_mod (line 156) | pub(super) fn binary_mod(&mut self) -> Result<(), RunError> { function binary_pow (line 182) | pub(super) fn binary_pow(&mut self) -> Result<(), RunError> { function binary_bitwise (line 210) | pub(super) fn binary_bitwise(&mut self, op: BitwiseOp) -> Result<(), Run... function binary_and (line 243) | pub(super) fn binary_and(&mut self) -> Result<(), RunError> { function binary_or (line 267) | pub(super) fn binary_or(&mut self) -> Result<(), RunError> { function binary_xor (line 291) | pub(super) fn binary_xor(&mut self) -> Result<(), RunError> { function inplace_add (line 323) | pub(super) fn inplace_add(&mut self) -> Result<(), RunError> { function binary_matmul (line 355) | pub(super) fn binary_matmul(&mut self) -> Result<(), RunError> { function binary_dict_view_op (line 367) | fn binary_dict_view_op( function binary_set_op (line 398) | fn binary_set_op( type DictViewBinaryOp (line 427) | enum DictViewBinaryOp { function apply_dict_view_binary_op (line 435) | fn apply_dict_view_binary_op( FILE: crates/monty/src/bytecode/vm/call.rs type CallResult (line 32) | pub(crate) enum CallResult { function exec_call_function (line 71) | pub(super) fn exec_call_function(&mut self, arg_count: usize) -> Result<... function exec_call_builtin_function (line 83) | pub(super) fn exec_call_builtin_function(&mut self, builtin_id: u8, arg_... function exec_call_builtin_type (line 97) | pub(super) fn exec_call_builtin_type(&mut self, type_id: u8, arg_count: ... function exec_call_function_kw (line 111) | pub(super) fn exec_call_function_kw( function exec_call_attr (line 151) | pub(super) fn exec_call_attr(&mut self, name_id: StringId, arg_count: us... function exec_call_attr_kw (line 162) | pub(super) fn exec_call_attr_kw( function exec_call_function_extended (line 200) | pub(super) fn exec_call_function_extended(&mut self, has_kwargs: bool) -... function exec_call_attr_extended (line 217) | pub(super) fn exec_call_attr_extended( function pop_n_args (line 240) | fn pop_n_args(&mut self, n: usize) -> ArgValues { function call_attr (line 265) | fn call_attr(&mut self, obj: Value, name_id: StringId, args: ArgValues) ... function evaluate_function (line 304) | pub(crate) fn evaluate_function( function call_function (line 355) | pub(crate) fn call_function(&mut self, callable: &Value, args: ArgValues... function call_heap_callable (line 383) | fn call_heap_callable(&mut self, heap_id: HeapId, args: ArgValues) -> Re... function call_function_extended (line 413) | fn call_function_extended( function call_attr_extended (line 440) | fn call_attr_extended( function extract_args_tuple (line 469) | fn extract_args_tuple(&mut self, args_tuple: &Value) -> Vec { function build_args_with_kwargs (line 484) | fn build_args_with_kwargs(&mut self, copied_args: Vec, kwargs_ref... function build_args_positional_only (line 522) | fn build_args_positional_only(copied_args: Vec) -> ArgValues { function extract_args_tuple_for_attr (line 542) | fn extract_args_tuple_for_attr(&mut self, args_tuple: &Value) -> Vec Result<(), RunError> { function build_tuple (line 31) | pub(super) fn build_tuple(&mut self, count: usize) -> Result<(), RunErro... function build_dict (line 39) | pub(super) fn build_dict(&mut self, count: usize) -> Result<(), RunError> { function build_set (line 53) | pub(super) fn build_set(&mut self, count: usize) -> Result<(), RunError> { function build_slice (line 68) | pub(super) fn build_slice(&mut self) -> Result<(), RunError> { function list_extend (line 98) | pub(super) fn list_extend(&mut self) -> Result<(), RunError> { function list_to_tuple (line 170) | pub(super) fn list_to_tuple(&mut self) -> Result<(), RunError> { function dict_merge (line 199) | pub(super) fn dict_merge(&mut self, func_name_id: u16) -> Result<(), Run... function dict_update (line 300) | pub(super) fn dict_update(&mut self, depth: usize) -> Result<(), RunErro... function set_extend (line 360) | pub(super) fn set_extend(&mut self, depth: usize) -> Result<(), RunError> { function list_append (line 435) | pub(super) fn list_append(&mut self, depth: usize) -> Result<(), RunErro... function set_add (line 463) | pub(super) fn set_add(&mut self, depth: usize) -> Result<(), RunError> { function dict_set_item (line 492) | pub(super) fn dict_set_item(&mut self, depth: usize) -> Result<(), RunEr... function unpack_sequence (line 532) | pub(super) fn unpack_sequence(&mut self, count: usize) -> Result<(), Run... function unpack_ex (line 619) | pub(super) fn unpack_ex(&mut self, before: usize, after: usize) -> Resul... function push_unpack_ex_results (line 689) | fn push_unpack_ex_results(&mut self, items: Vec, before: usize, a... function unpack_ex_too_few_error (line 715) | fn unpack_ex_too_few_error(min_needed: usize, actual: usize) -> RunError { function unpack_size_error (line 725) | fn unpack_size_error(expected: usize, actual: usize) -> RunError { function unpack_type_error (line 735) | fn unpack_type_error(type_name: Type) -> RunError { FILE: crates/monty/src/bytecode/vm/compare.rs function compare_eq (line 14) | pub(super) fn compare_eq(&mut self) -> Result<(), RunError> { function compare_ne (line 28) | pub(super) fn compare_ne(&mut self) -> Result<(), RunError> { function compare_ord (line 42) | pub(super) fn compare_ord(&mut self, check: F) -> Result<(), RunError> function compare_is (line 67) | pub(super) fn compare_is(&mut self, negate: bool) { function compare_in (line 80) | pub(super) fn compare_in(&mut self, negate: bool) -> Result<(), RunError> { function compare_mod_eq (line 101) | pub(super) fn compare_mod_eq(&mut self, k: &Value) -> Result<(), RunErro... FILE: crates/monty/src/bytecode/vm/exceptions.rs function current_frame_name (line 20) | fn current_frame_name(&self) -> StringId { function make_stack_frame (line 31) | fn make_stack_frame(&self) -> RawStackFrame { function attach_frame_to_error (line 43) | fn attach_frame_to_error(&self, error: RunError) -> RunError { function make_exception (line 70) | pub(super) fn make_exception(&mut self, exc_value: Value, is_raise: bool... function handle_exception (line 117) | pub(super) fn handle_exception(&mut self, mut error: RunError) -> Option... function unwind_for_traceback (line 231) | fn unwind_for_traceback(&mut self, mut error: RunError) -> RunError { function create_exception_value (line 256) | fn create_exception_value(&mut self, exc: &ExceptionRaise) -> Result Result<(), RunEr... function format_value (line 47) | pub(super) fn format_value(&mut self, flags: u8) -> Result<(), RunError> { function get_format_spec (line 108) | fn get_format_spec(&self, spec_value: &Value, value_for_error: &Value) -... FILE: crates/monty/src/bytecode/vm/mod.rs type AwaitResult (line 45) | enum AwaitResult { type FrameExit (line 248) | pub enum FrameExit { type CallFrame (line 333) | pub struct CallFrame<'code> { function new_module (line 368) | pub fn new_module(code: &'code Code) -> Self { function new_function (line 384) | pub fn new_function( type CachedFrame (line 408) | pub struct CachedFrame<'code> { function from (line 420) | fn from(frame: &CallFrame<'code>) -> Self { type SerializedFrame (line 434) | pub struct SerializedFrame { function serialize (line 453) | fn serialize(&self) -> SerializedFrame { type VMSnapshot (line 480) | pub struct VMSnapshot { type VM (line 522) | pub struct VM<'a, 'p, T: ResourceTracker> { function new (line 587) | pub fn new( function restore (line 620) | pub fn restore( function snapshot (line 676) | pub fn snapshot(self) -> VMSnapshot { function run_module (line 690) | pub fn run_module(&mut self, code: &'a Code) -> Result usize { function take_globals (line 726) | pub fn take_globals(&mut self) -> Vec { function allocate_call_id (line 731) | fn allocate_call_id(&mut self) -> CallId { function is_main_task (line 740) | fn is_main_task(&self) -> bool { function run (line 753) | pub fn run(&mut self) -> Result { function load_module (line 1527) | fn load_module(&mut self, module_id: u8) -> RunResult<()> { function resume (line 1539) | pub fn resume(&mut self, obj: MontyObject) -> Result { function set_instruction_ip (line 1552) | pub fn set_instruction_ip(&mut self, ip: usize) { function resume_with_exception (line 1560) | pub fn resume_with_exception(&mut self, error: RunError) -> Result Value { function peek (line 1588) | pub(super) fn peek(&self) -> &Value { function pop_n (line 1593) | pub(super) fn pop_n(&mut self, n: usize) -> Vec { function current_frame (line 1604) | pub(crate) fn current_frame(&self) -> &CallFrame<'a> { function new_cached_frame (line 1610) | pub(super) fn new_cached_frame(&self) -> CachedFrame<'a> { function current_frame_mut (line 1616) | pub(super) fn current_frame_mut(&mut self) -> &mut CallFrame<'a> { function push_frame (line 1623) | pub(super) fn push_frame(&mut self, frame: CallFrame<'a>) -> RunResult<(... function pop_frame (line 1643) | pub(super) fn pop_frame(&mut self) -> bool { function cleanup_frame_state (line 1658) | fn cleanup_frame_state(&mut self, frame: &CallFrame<'_>) { function cleanup_current_task (line 1678) | pub(super) fn cleanup_current_task(&mut self) { function run_gc (line 1686) | fn run_gc(&mut self) { function current_position (line 1702) | pub(super) fn current_position(&self) -> CodeRange { function load_local (line 1725) | fn load_local(&mut self, cached_frame: &CachedFrame<'a>, slot: u16) -> R... function load_local_callable (line 1754) | fn load_local_callable(&mut self, cached_frame: &CachedFrame<'a>, slot: ... function load_global_callable (line 1771) | fn load_global_callable(&mut self, slot: u16, name_id: StringId) { function unbound_local_error (line 1784) | fn unbound_local_error(&self, slot: u16, name: Option) -> RunE... function name_error (line 1793) | fn name_error(&self, slot: u16, name: Option) -> RunError { function store_local (line 1802) | fn store_local(&mut self, cached_frame: &CachedFrame<'a>, slot: u16) { function delete_local (line 1810) | fn delete_local(&mut self, cached_frame: &CachedFrame<'a>, slot: u16) { function load_global (line 1821) | fn load_global(&mut self, slot: u16) -> Result, RunErr... function store_global (line 1851) | fn store_global(&mut self, slot: u16) { function delete_global (line 1858) | fn delete_global(&mut self, slot: u16) { function load_cell (line 1868) | fn load_cell(&mut self, cached_frame: &CachedFrame<'a>, slot: u16) -> Ru... function cell_id_from_local (line 1889) | fn cell_id_from_local(&self, cached_frame: &CachedFrame<'_>, slot: u16) ... function free_var_error (line 1897) | fn free_var_error(&self, name: Option) -> RunError { function store_cell (line 1908) | fn store_cell(&mut self, cached_frame: &CachedFrame<'_>, slot: u16) { type ResourceTracker (line 1924) | type ResourceTracker = T; method heap (line 1925) | fn heap(&self) -> &Heap { method heap_mut (line 1928) | fn heap_mut(&mut self) -> &mut Heap { FILE: crates/monty/src/bytecode/vm/scheduler.rs type TaskState (line 28) | pub(crate) enum TaskState { type Task (line 52) | pub(crate) struct Task { method new (line 106) | pub fn new( method is_finished (line 128) | pub fn is_finished(&self) -> bool { type SerializedTaskFrame (line 86) | pub(crate) struct SerializedTaskFrame { type PendingCallData (line 138) | pub(crate) struct PendingCallData { type Scheduler (line 158) | pub(crate) struct Scheduler { method new (line 188) | pub fn new() -> Self { method current_task_id (line 209) | pub fn current_task_id(&self) -> Option { method get_task (line 218) | pub fn get_task(&self, task_id: TaskId) -> &Task { method get_task_mut (line 227) | pub fn get_task_mut(&mut self, task_id: TaskId) -> &mut Task { method allocate_call_id (line 234) | pub fn allocate_call_id(&mut self) -> CallId { method add_pending_call (line 243) | pub fn add_pending_call(&mut self, call_id: CallId, data: PendingCallD... method remove_pending_call (line 251) | pub fn remove_pending_call(&mut self, call_id: CallId) { method is_consumed (line 257) | pub fn is_consumed(&self, call_id: CallId) -> bool { method mark_consumed (line 262) | pub fn mark_consumed(&mut self, call_id: CallId) { method register_gather_for_call (line 270) | pub fn register_gather_for_call(&mut self, call_id: CallId, gather_id:... method take_gather_waiter (line 278) | pub fn take_gather_waiter(&mut self, call_id: CallId) -> Option<(HeapI... method resolve (line 289) | pub fn resolve(&mut self, call_id: CallId, value: Value) { method take_resolved (line 311) | pub fn take_resolved(&mut self, call_id: CallId) -> Option { method take_resolved_for_task (line 320) | pub fn take_resolved_for_task(&mut self, task_id: TaskId) -> Option Vec { method remove_from_ready_queue (line 358) | pub fn remove_from_ready_queue(&mut self, task_id: TaskId) { method spawn (line 374) | pub fn spawn( method next_ready_task (line 393) | pub fn next_ready_task(&mut self) -> Option { method make_ready (line 398) | pub fn make_ready(&mut self, task_id: TaskId) { method set_current_task (line 405) | pub fn set_current_task(&mut self, task_id: Option) { method complete_task (line 413) | pub fn complete_task(&mut self, task_id: TaskId, result: Value) { method fail_task (line 426) | pub fn fail_task(&mut self, task_id: TaskId, error: RunError) -> Optio... method cancel_task (line 448) | pub fn cancel_task( method fail_for_call (line 547) | pub fn fail_for_call(&mut self, call_id: CallId, error: RunError) -> O... method get_pending_call_creator (line 558) | pub fn get_pending_call_creator(&self, call_id: CallId) -> Option bool { method cleanup (line 574) | pub fn cleanup(&mut self, heap: &mut crate::heap::Heap Self { FILE: crates/monty/src/exception_private.rs type RunResult (line 28) | pub type RunResult = Result; type ExcType (line 35) | pub enum ExcType { method is_subclass_of (line 136) | pub fn is_subclass_of(self, handler_type: Self) -> bool { method call (line 176) | pub(crate) fn call(self, vm: &mut VM<'_, '_, impl ResourceTracker>, ar... method attribute_error (line 210) | pub(crate) fn attribute_error(type_name: impl Display, attr: &str) -> ... method attribute_error_no_setattr (line 226) | pub(crate) fn attribute_error_no_setattr(type_: Type, attr_name: &str)... method attribute_error_module (line 239) | pub(crate) fn attribute_error_module(module_name: &str, attr_name: &st... method frozen_instance_error (line 256) | pub(crate) fn frozen_instance_error(attr_name: &str) -> RunError { method type_error_not_sub (line 265) | pub(crate) fn type_error_not_sub(type_: Type) -> RunError { method object_not_awaitable (line 273) | pub(crate) fn object_not_awaitable(type_: Type) -> RunError { method type_error_not_sub_assignment (line 281) | pub(crate) fn type_error_not_sub_assignment(type_: Type) -> RunError { method type_error_unhashable (line 293) | pub(crate) fn type_error_unhashable(type_: Type) -> RunError { method type_error_unhashable_dict_key (line 302) | pub(crate) fn type_error_unhashable_dict_key(type_: Type) -> RunError { method type_error_unhashable_set_element (line 315) | pub(crate) fn type_error_unhashable_set_element(type_: Type) -> RunErr... method key_error (line 327) | pub(crate) fn key_error(key: &Value, vm: &VM<'_, '_, impl ResourceTrac... method key_error_pop_empty_set (line 336) | pub(crate) fn key_error_pop_empty_set() -> RunError { method type_error_arg_count (line 351) | pub(crate) fn type_error_arg_count(name: &str, expected: usize, actual... method type_error_no_args (line 377) | pub(crate) fn type_error_no_args(name: &str, actual: usize) -> RunError { method type_error_at_least (line 391) | pub(crate) fn type_error_at_least(name: &str, min: usize, actual: usiz... method type_error_at_most (line 410) | pub(crate) fn type_error_at_most(name: &str, max: usize, actual: usize... method type_error_missing_positional_with_names (line 423) | pub(crate) fn type_error_missing_positional_with_names(name: &str, mis... method type_error_missing_kwonly_with_names (line 445) | pub(crate) fn type_error_missing_kwonly_with_names(name: &str, missing... method type_error_too_many_positional (line 469) | pub(crate) fn type_error_too_many_positional( method type_error_positional_only (line 507) | pub(crate) fn type_error_positional_only(name: &str, param: &str) -> R... method type_error_duplicate_arg (line 519) | pub(crate) fn type_error_duplicate_arg(name: &str, param: &str) -> Run... method type_error_multiple_values (line 531) | pub(crate) fn type_error_multiple_values(name: &str, key: &str) -> Run... method type_error_unexpected_keyword (line 543) | pub(crate) fn type_error_unexpected_keyword(name: &str, key: &str) -> ... method type_error_kwargs_not_mapping (line 555) | pub(crate) fn type_error_kwargs_not_mapping(name: &str, type_name: &st... method type_error_not_mapping (line 570) | pub(crate) fn type_error_not_mapping(type_: Type) -> RunError { method type_error_kwargs_nonstring_key (line 578) | pub(crate) fn type_error_kwargs_nonstring_key() -> RunError { method type_error (line 584) | pub(crate) fn type_error(msg: impl fmt::Display) -> RunError { method type_error_bytes_init (line 592) | pub(crate) fn type_error_bytes_init(type_: Type) -> RunError { method type_error_not_callable (line 600) | pub(crate) fn type_error_not_callable(type_: Type) -> RunError { method type_error_not_callable_object (line 608) | pub(crate) fn type_error_not_callable_object(type_: Type) -> RunError { method type_error_not_iterable (line 616) | pub(crate) fn type_error_not_iterable(type_: Type) -> RunError { method type_error_value_after_star (line 627) | pub(crate) fn type_error_value_after_star(type_: Type) -> RunError { method type_error_int_conversion (line 639) | pub(crate) fn type_error_int_conversion(type_: Type) -> RunError { method type_error_float_conversion (line 651) | pub(crate) fn type_error_float_conversion(type_: Type) -> RunError { method value_error_negative_bytes_count (line 663) | pub(crate) fn value_error_negative_bytes_count() -> RunError { method isinstance_arg2_error (line 671) | pub(crate) fn isinstance_arg2_error() -> RunError { method except_invalid_type_error (line 683) | pub(crate) fn except_invalid_type_error() -> RunError { method value_error_range_step_zero (line 695) | pub(crate) fn value_error_range_step_zero() -> RunError { method value_error_slice_step_zero (line 703) | pub(crate) fn value_error_slice_step_zero() -> RunError { method type_error_slice_indices (line 711) | pub(crate) fn type_error_slice_indices() -> RunError { method runtime_error_dict_changed_size (line 723) | pub(crate) fn runtime_error_dict_changed_size() -> RunError { method runtime_error_set_changed_size (line 731) | pub(crate) fn runtime_error_set_changed_size() -> RunError { method type_error_no_kwargs (line 739) | pub(crate) fn type_error_no_kwargs(name: &str) -> RunError { method list_index_error (line 747) | pub(crate) fn list_index_error() -> RunError { method list_assignment_index_error (line 755) | pub(crate) fn list_assignment_index_error() -> RunError { method tuple_index_error (line 763) | pub(crate) fn tuple_index_error() -> RunError { method str_index_error (line 771) | pub(crate) fn str_index_error() -> RunError { method bytes_index_error (line 779) | pub(crate) fn bytes_index_error() -> RunError { method range_index_error (line 787) | pub(crate) fn range_index_error() -> RunError { method re_match_group_index_error (line 795) | pub(crate) fn re_match_group_index_error() -> RunError { method type_error_indices (line 803) | pub(crate) fn type_error_indices(type_str: Type, index_type: Type) -> ... method type_error_list_assignment_indices (line 815) | pub(crate) fn type_error_list_assignment_indices(index_type: Type) -> ... method name_error_free_variable (line 828) | pub(crate) fn name_error_free_variable(name: &str) -> SimpleException { method name_error (line 839) | pub(crate) fn name_error(name: &str) -> SimpleException { method unbound_local_error (line 852) | pub(crate) fn unbound_local_error(name: &str) -> SimpleException { method module_not_found_error (line 864) | pub(crate) fn module_not_found_error(module_name: &str) -> RunError { method not_implemented (line 878) | pub(crate) fn not_implemented(msg: impl fmt::Display) -> SimpleExcepti... method zero_division (line 886) | pub(crate) fn zero_division() -> SimpleException { method overflow_repeat_count (line 894) | pub(crate) fn overflow_repeat_count() -> SimpleException { method index_error_int_too_large (line 902) | pub(crate) fn index_error_int_too_large() -> RunError { method cannot_import_name (line 913) | pub(crate) fn cannot_import_name(name: &str, module_name: &str) -> Run... method value_error_negative_shift_count (line 929) | pub(crate) fn value_error_negative_shift_count() -> RunError { method overflow_shift_count (line 938) | pub(crate) fn overflow_shift_count() -> RunError { method binary_type_error (line 950) | pub(crate) fn binary_type_error(op: &str, lhs_type: Type, rhs_type: Ty... method unary_type_error (line 963) | pub(crate) fn unary_type_error(op: &str, value_type: Type) -> RunError { method type_error_not_integer (line 975) | pub(crate) fn type_error_not_integer(type_: Type) -> RunError { method zero_negative_power (line 988) | pub(crate) fn zero_negative_power() -> RunError { method overflow_exponent_too_large (line 996) | pub(crate) fn overflow_exponent_too_large() -> RunError { method divmod_by_zero (line 1005) | pub(crate) fn divmod_by_zero() -> RunError { method type_error_join_item (line 1013) | pub(crate) fn type_error_join_item(index: usize, item_type: Type) -> R... method type_error_join_not_iterable (line 1025) | pub(crate) fn type_error_join_not_iterable() -> RunError { method value_error_substring_not_found (line 1033) | pub(crate) fn value_error_substring_not_found() -> RunError { method value_error_empty_separator (line 1041) | pub(crate) fn value_error_empty_separator() -> RunError { method type_error_fillchar_must_be_single_char (line 1049) | pub(crate) fn type_error_fillchar_must_be_single_char() -> RunError { method stop_iteration (line 1057) | pub(crate) fn stop_iteration() -> RunError { method value_error_not_in_list (line 1065) | pub(crate) fn value_error_not_in_list() -> RunError { method value_error_not_in_tuple (line 1073) | pub(crate) fn value_error_not_in_tuple() -> RunError { method value_error_remove_not_in_list (line 1081) | pub(crate) fn value_error_remove_not_in_list() -> RunError { method index_error_pop_empty_list (line 1089) | pub(crate) fn index_error_pop_empty_list() -> RunError { method index_error_pop_out_of_range (line 1097) | pub(crate) fn index_error_pop_out_of_range() -> RunError { method key_error_popitem_empty_dict (line 1105) | pub(crate) fn key_error_popitem_empty_dict() -> RunError { method lookup_error_unknown_encoding (line 1113) | pub(crate) fn lookup_error_unknown_encoding(encoding: &str) -> RunError { method unicode_decode_error_invalid_utf8 (line 1121) | pub(crate) fn unicode_decode_error_invalid_utf8() -> RunError { method value_error_subsequence_not_found (line 1133) | pub(crate) fn value_error_subsequence_not_found() -> RunError { method lookup_error_unknown_error_handler (line 1141) | pub(crate) fn lookup_error_unknown_error_handler(name: &str) -> RunErr... method re_pattern_error (line 1149) | pub(crate) fn re_pattern_error(msg: impl fmt::Display) -> RunError { type SimpleException (line 1159) | pub(crate) struct SimpleException { method fmt (line 1165) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 1170) | fn from(exc: MontyException) -> Self { method new (line 1181) | pub fn new(exc_type: ExcType, arg: Option) -> Self { method new_msg (line 1187) | pub fn new_msg(exc_type: ExcType, arg: impl fmt::Display) -> Self { method new_none (line 1196) | pub fn new_none(exc_type: ExcType) -> Self { method exc_type (line 1201) | pub fn exc_type(&self) -> ExcType { method arg (line 1206) | pub fn arg(&self) -> Option<&String> { method py_str (line 1212) | pub fn py_str(&self) -> String { method py_type (line 1221) | pub(crate) fn py_type(&self) -> Type { method py_repr_fmt (line 1226) | pub fn py_repr_fmt(&self, f: &mut impl Write) -> std::fmt::Result { method with_frame (line 1237) | pub(crate) fn with_frame(self, frame: RawStackFrame) -> ExceptionRaise { method with_position (line 1245) | pub(crate) fn with_position(self, position: CodeRange) -> ExceptionRai... method py_getattr (line 1257) | pub fn py_getattr( type ExceptionRaise (line 1285) | pub struct ExceptionRaise { method from (line 1299) | fn from(exc: SimpleException) -> Self { method from (line 1309) | fn from(exc: MontyException) -> Self { method add_caller_frame (line 1329) | pub(crate) fn add_caller_frame(&mut self, position: CodeRange, name: S... method add_caller_frame_inner (line 1333) | fn add_caller_frame_inner(&mut self, position: CodeRange, name: String... method into_python_exception (line 1363) | pub fn into_python_exception(self, interns: &Interns, source: &str) ->... type RawStackFrame (line 1388) | pub struct RawStackFrame { method new (line 1402) | pub(crate) fn new(position: CodeRange, frame_name: StringId, parent: O... method from_position (line 1411) | fn from_position(position: CodeRange) -> Self { method from_raise (line 1421) | pub(crate) fn from_raise(position: CodeRange, frame_name: StringId) ->... type RunError (line 1438) | pub(crate) enum RunError { method from (line 1452) | fn from(exc: ExceptionRaise) -> Self { method from (line 1458) | fn from(exc: SimpleException) -> Self { method from (line 1464) | fn from(exc: MontyException) -> Self { method from (line 1470) | fn from(err: FormatError) -> Self { method into_python_exception (line 1484) | pub fn into_python_exception(self, interns: &Interns, source: &str) ->... method internal (line 1491) | pub fn internal(msg: impl Into>) -> Self { function format_param_names (line 1502) | fn format_param_names(names: &[&str]) -> String { FILE: crates/monty/src/exception_public.rs type MontyException (line 12) | pub struct MontyException { method fmt (line 28) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 79) | pub fn new(exc_type: ExcType, message: Option) -> Self { method exc_type (line 89) | pub fn exc_type(&self) -> ExcType { method message (line 97) | pub fn message(&self) -> Option<&str> { method into_message (line 107) | pub fn into_message(self) -> Option { method traceback (line 113) | pub fn traceback(&self) -> &[StackFrame] { method summary (line 122) | pub fn summary(&self) -> String { method py_repr (line 135) | pub fn py_repr(&self) -> String { method new_full (line 144) | pub(crate) fn new_full(exc_type: ExcType, message: Option, tra... method runtime_error (line 152) | pub(crate) fn runtime_error(err: impl fmt::Display) -> Self { constant REPEAT_FRAMES_SHOWN (line 24) | const REPEAT_FRAMES_SHOWN: usize = 3; function frames_are_identical (line 164) | fn frames_are_identical(a: &StackFrame, b: &StackFrame) -> bool { type StackFrame (line 179) | pub struct StackFrame { method fmt (line 205) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from_raw (line 245) | pub(crate) fn from_raw(f: &RawStackFrame, interns: &Interns, source: &... method from_position_syntax_error (line 266) | pub(crate) fn from_position_syntax_error(position: CodeRange, filename... method from_position (line 281) | pub(crate) fn from_position(position: CodeRange, filename: &str, sourc... method from_position_no_caret (line 299) | pub(crate) fn from_position_no_caret(position: CodeRange, filename: &s... type CodeLoc (line 319) | pub struct CodeLoc { method new (line 340) | pub fn new(line: usize, column: usize) -> Self { method default (line 327) | fn default() -> Self { FILE: crates/monty/src/expressions.rs type NameScope (line 21) | pub enum NameScope { type Identifier (line 50) | pub struct Identifier { method new (line 61) | pub fn new(name_id: StringId, position: CodeRange) -> Self { method new_with_scope (line 71) | pub fn new_with_scope(name_id: StringId, position: CodeRange, namespac... method namespace_id (line 80) | pub fn namespace_id(&self) -> NamespaceId { type Callable (line 94) | pub enum Callable { type SequenceItem (line 114) | pub(crate) enum SequenceItem { type DictItem (line 132) | pub(crate) enum DictItem { type Expr (line 141) | pub enum Expr { method is_none (line 374) | pub fn is_none(&self) -> bool { type UnpackTarget (line 343) | pub enum UnpackTarget { type Comprehension (line 364) | pub struct Comprehension { type Literal (line 389) | pub enum Literal { method from (line 411) | fn from(literal: Literal) -> Self { type ExprLoc (line 428) | pub struct ExprLoc { method new (line 434) | pub fn new(position: CodeRange, expr: Expr) -> Self { type Node (line 448) | pub enum Node { type PreparedFunctionDef (line 599) | pub struct PreparedFunctionDef { type PreparedNode (line 639) | pub type PreparedNode = Node; type Operator (line 645) | pub enum Operator { type CmpOperator (line 681) | pub enum CmpOperator { FILE: crates/monty/src/fstring.rs type ConversionFlag (line 33) | pub enum ConversionFlag { type FStringPart (line 52) | pub enum FStringPart { type FormatSpec (line 78) | pub enum FormatSpec { type ParsedFormatSpec (line 97) | pub struct ParsedFormatSpec { type Err (line 115) | type Err = String; method from_str (line 121) | fn from_str(spec: &str) -> Result { type FormatError (line 233) | pub enum FormatError { method fmt (line 243) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function format_with_spec (line 260) | pub fn format_with_spec( function encode_format_spec (line 324) | pub fn encode_format_spec(spec: &ParsedFormatSpec) -> u64 { function decode_format_spec (line 371) | pub fn decode_format_spec(encoded: u64) -> ParsedFormatSpec { function format_string (line 442) | pub fn format_string(value: &str, spec: &ParsedFormatSpec) -> Result String { function format_int_base (line 508) | pub fn format_int_base(n: i64, base: u32, spec: &ParsedFormatSpec) -> Re... function format_char (line 531) | pub fn format_char(n: i64, spec: &ParsedFormatSpec) -> Result String { function format_float_e (line 587) | pub fn format_float_e(f: f64, spec: &ParsedFormatSpec, uppercase: bool) ... function format_float_g (line 624) | pub fn format_float_g(f: f64, spec: &ParsedFormatSpec) -> String { function ascii_escape (line 672) | pub fn ascii_escape(s: &str) -> String { function format_float_percent (line 697) | pub fn format_float_percent(f: f64, spec: &ParsedFormatSpec) -> String { function pad_string (line 730) | fn pad_string(value: &str, width: usize, align: char, fill: char) -> Str... function strip_trailing_zeros (line 776) | fn strip_trailing_zeros(s: &str) -> String { function strip_trailing_zeros_exp (line 793) | fn strip_trailing_zeros_exp(s: &str) -> String { function fix_exp_format (line 810) | fn fix_exp_format(s: &str) -> String { function f64_to_i32_trunc (line 842) | fn f64_to_i32_trunc(value: f64) -> i32 { FILE: crates/monty/src/function.rs type Function (line 31) | pub(crate) struct Function { method new (line 86) | pub fn new( method py_repr_fmt (line 111) | pub fn py_repr_fmt(&self, f: &mut W, interns: &Interns, py_i... FILE: crates/monty/src/heap.rs type HeapId (line 29) | pub struct HeapId(usize); method index (line 34) | pub fn index(self) -> usize { constant EMPTY_TUPLE_ID (line 40) | const EMPTY_TUPLE_ID: HeapId = HeapId(0); type HashState (line 44) | enum HashState { method for_data (line 54) | fn for_data(data: &HeapData) -> Self { type HeapValue (line 103) | pub struct HeapValue { type RecursionToken (line 122) | pub(crate) struct RecursionToken(()); method drop_with_heap (line 126) | fn drop_with_heap(self, heap: &mut H) { type Heap (line 144) | pub(crate) struct Heap { function serialize (line 163) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result Self { function tracker (line 252) | pub fn tracker(&self) -> &T { function tracker_mut (line 257) | pub fn tracker_mut(&mut self) -> &mut T { function check_time (line 271) | pub fn check_time(&self) -> Result<(), ResourceError> { function incr_recursion_depth (line 283) | pub fn incr_recursion_depth(&self) -> Result Option { function decr_recursion_depth (line 305) | pub(crate) fn decr_recursion_depth(&self) { function get_recursion_depth (line 315) | pub(crate) fn get_recursion_depth(&self) -> usize { function set_recursion_depth (line 325) | pub(crate) fn set_recursion_depth(&self, depth: usize) { function size (line 330) | pub fn size(&self) -> usize { function mark_potential_cycle (line 340) | pub fn mark_potential_cycle(&mut self) { function get_allocations_since_gc (line 349) | pub fn get_allocations_since_gc(&self) -> u32 { function allocate (line 363) | pub fn allocate(&mut self, data: HeapData) -> Result Value { function inc_ref (line 414) | pub fn inc_ref(&self, id: HeapId) { function dec_ref (line 432) | pub fn dec_ref(&mut self, id: HeapId) { function get (line 472) | pub fn get(&self, id: HeapId) -> &HeapData { function get_mut (line 488) | pub fn get_mut(&mut self, id: HeapId) -> HeapDataMut<'_> { function get_or_compute_hash (line 508) | pub fn get_or_compute_hash(&mut self, id: HeapId, interns: &Interns) -> ... function call_attr (line 566) | pub fn call_attr(vm: &mut VM<'_, '_, T>, id: HeapId, attr: &EitherStr, a... function with_entry_mut (line 585) | pub fn with_entry_mut<'a, 'p, F, R>(vm: &mut VM<'a, 'p, T>, id: HeapId, ... function with_two (line 609) | pub fn with_two<'a, 'p, F, R>(vm: &mut VM<'a, 'p, T>, left: HeapId, righ... function get_refcount (line 647) | pub fn get_refcount(&self, id: HeapId) -> usize { function entry_count (line 666) | pub fn entry_count(&self) -> usize { function iadd_extend_list (line 679) | pub fn iadd_extend_list(&mut self, source_id: HeapId, dest: &mut Vec RunResult... function mult_heap_values (line 710) | pub fn mult_heap_values(&mut self, id1: HeapId, id2: HeapId) -> RunResul... function mult_sequence (line 745) | pub fn mult_sequence(&mut self, id: HeapId, count: usize) -> RunResult bool { function collect_garbage (line 812) | pub fn collect_garbage(&mut self, root: Vec) { function i64_bits (line 867) | fn i64_bits(value: i64) -> u64 { function i64_to_repeat_count (line 879) | fn i64_to_repeat_count(n: i64) -> RunResult { function longint_to_repeat_count (line 891) | fn longint_to_repeat_count(li: &LongInt) -> RunResult { function collect_child_ids (line 902) | fn collect_child_ids(data: &HeapData, work_list: &mut Vec) { method drop (line 1062) | fn drop(&mut self) { FILE: crates/monty/src/heap_data.rs type HeapData (line 33) | pub(crate) enum HeapData { method is_gc_tracked (line 135) | pub(crate) fn is_gc_tracked(&self) -> bool { method has_refs (line 166) | pub(crate) fn has_refs(&self) -> bool { method is_coroutine (line 201) | pub fn is_coroutine(&self) -> bool { method to_mut (line 209) | pub(crate) fn to_mut(&mut self) -> HeapDataMut<'_> { type HeapDataMut (line 244) | pub(crate) enum HeapDataMut<'a> { type CellValue (line 341) | pub(crate) struct CellValue(pub(crate) Value); type Target (line 344) | type Target = Value; method deref (line 346) | fn deref(&self) -> &Self::Target { type Closure (line 358) | pub(crate) struct Closure { type FunctionDefaults (line 373) | pub(crate) struct FunctionDefaults { method py_estimate_size (line 381) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 385) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { method py_estimate_size (line 391) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 397) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { method py_estimate_size (line 408) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 412) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { method py_estimate_size (line 421) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 425) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { method py_estimate_size (line 431) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 435) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { method py_estimate_size (line 441) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 445) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { method py_estimate_size (line 454) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 461) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { function compute_hash_if_immutable (line 485) | pub fn compute_hash_if_immutable( FILE: crates/monty/src/heap_traits.rs type HeapItem (line 26) | pub(crate) trait HeapItem { method py_estimate_size (line 36) | fn py_estimate_size(&self) -> usize; method py_dec_ref_ids (line 46) | fn py_dec_ref_ids(&mut self, stack: &mut Vec); type ContainsHeap (line 51) | pub(crate) trait ContainsHeap { method heap (line 53) | fn heap(&self) -> &Heap; method heap_mut (line 54) | fn heap_mut(&mut self) -> &mut Heap; type ResourceTracker (line 58) | type ResourceTracker = T; method heap (line 59) | fn heap(&self) -> &Self { method heap_mut (line 63) | fn heap_mut(&mut self) -> &mut Self { type DropWithHeap (line 82) | pub(crate) trait DropWithHeap: Sized { method drop_with_heap (line 84) | fn drop_with_heap(self, heap: &mut H); method drop_with_heap (line 89) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 96) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 104) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 112) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 120) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 128) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 136) | fn drop_with_heap(self, heap: &mut H) { type DropWithImmutableHeap (line 151) | pub(crate) trait DropWithImmutableHeap { method drop_with_immutable_heap (line 153) | fn drop_with_immutable_heap(self, heap: &Heap); method drop_with_immutable_heap (line 158) | fn drop_with_immutable_heap(self, heap: &Heap) { type ImmutableHeapGuard (line 172) | pub(crate) struct ImmutableHeapGuard<'a, H: ContainsHeap, V: DropWithImm... function new (line 180) | pub fn new(value: V, heap: &'a H) -> Self { function as_parts (line 192) | pub fn as_parts(&self) -> (&V, &'a H) { method drop (line 198) | fn drop(&mut self) { type HeapGuard (line 219) | pub(crate) struct HeapGuard<'a, H: ContainsHeap, V: DropWithHeap> { function new (line 228) | pub fn new(value: V, heap: &'a mut H) -> Self { function into_inner (line 240) | pub fn into_inner(self) -> V { function as_parts (line 251) | pub fn as_parts(&mut self) -> (&V, &mut H) { function as_parts_mut (line 260) | pub fn as_parts_mut(&mut self) -> (&mut V, &mut H) { function into_parts (line 269) | pub fn into_parts(self) -> (V, &'a mut H) { function heap (line 277) | pub fn heap(&mut self) -> &mut H { method drop (line 283) | fn drop(&mut self) { FILE: crates/monty/src/intern.rs type StringId (line 28) | pub struct StringId(u32); method from_index (line 36) | pub fn from_index(index: u16) -> Self { method index (line 42) | pub fn index(self) -> usize { method from_ascii (line 48) | pub fn from_ascii(byte: u8) -> Self { method from (line 526) | fn from(value: StaticStrings) -> Self { method eq (line 539) | fn eq(&self, other: &StaticStrings) -> bool { constant STATIC_STRING_ID_OFFSET (line 54) | const STATIC_STRING_ID_OFFSET: u32 = 1000; constant INTERN_STRING_ID_OFFSET (line 55) | const INTERN_STRING_ID_OFFSET: usize = 10_000; type StaticStrings (line 77) | pub enum StaticStrings { method from_string_id (line 518) | pub fn from_string_id(id: StringId) -> Option { method eq (line 545) | fn eq(&self, other: &StringId) -> bool { method from (line 533) | fn from(value: StaticStrings) -> Self { type BytesId (line 554) | pub struct BytesId(u32); method index (line 559) | pub fn index(self) -> usize { type LongIntId (line 569) | pub struct LongIntId(u32); method index (line 574) | pub fn index(self) -> usize { type FunctionId (line 581) | pub struct FunctionId(u32); method from_index (line 589) | pub fn from_index(index: u16) -> Self { method index (line 595) | pub fn index(self) -> usize { type InternerBuilder (line 611) | pub struct InternerBuilder { method new (line 639) | pub fn new(code: &str) -> Self { method from_interns (line 655) | pub(crate) fn from_interns(interns: &Interns, code: &str) -> Self { method intern (line 681) | pub fn intern(&mut self, s: &str) -> StringId { method intern_bytes (line 699) | pub fn intern_bytes(&mut self, b: &[u8]) -> BytesId { method intern_long_int (line 708) | pub fn intern_long_int(&mut self, bi: BigInt) -> LongIntId { method get_str (line 716) | pub fn get_str(&self, id: StringId) -> &str { function get_str (line 726) | fn get_str(strings: &[String], id: StringId) -> &str { type Interns (line 741) | pub(crate) struct Interns { method new (line 749) | pub fn new(interner: InternerBuilder, functions: Vec) -> Self { method get_str (line 764) | pub fn get_str(&self, id: StringId) -> &str { method get_bytes (line 774) | pub fn get_bytes(&self, id: BytesId) -> &[u8] { method get_long_int (line 784) | pub fn get_long_int(&self, id: LongIntId) -> &BigInt { method get_function (line 794) | pub fn get_function(&self, id: FunctionId) -> &Function { method get_string_id_by_name (line 805) | pub fn get_string_id_by_name(&self, s: &str) -> Option { method set_functions (line 827) | pub fn set_functions(&mut self, functions: Vec) { method functions_clone (line 834) | pub(crate) fn functions_clone(&self) -> Vec { FILE: crates/monty/src/io.rs type PrintWriter (line 16) | pub enum PrintWriter<'a> { function reborrow (line 34) | pub fn reborrow(&mut self) -> PrintWriter<'_> { function stdout_write (line 48) | pub fn stdout_write(&mut self, output: Cow<'_, str>) -> Result<(), Monty... function stdout_push (line 67) | pub fn stdout_push(&mut self, end: char) -> Result<(), MontyException> { type PrintWriterCallback (line 87) | pub trait PrintWriterCallback { method stdout_write (line 97) | fn stdout_write(&mut self, output: Cow<'_, str>) -> Result<(), MontyEx... method stdout_push (line 105) | fn stdout_push(&mut self, end: char) -> Result<(), MontyException>; FILE: crates/monty/src/modules/asyncio.rs type AsyncioFunctions (line 27) | pub(crate) enum AsyncioFunctions { function create_module (line 42) | pub fn create_module(vm: &mut VM<'_, '_, impl ResourceTracker>) -> Resul... function call (line 58) | pub(super) fn call( function run (line 76) | fn run(heap: &mut Heap, args: ArgValues) -> RunRes... function gather (line 101) | pub(crate) fn gather(heap: &mut Heap, args: ArgVal... FILE: crates/monty/src/modules/math.rs function math_domain_error (line 46) | fn math_domain_error() -> crate::exception_private::RunError { function math_range_error (line 51) | fn math_range_error() -> crate::exception_private::RunError { function check_range_error (line 59) | fn check_range_error(result: f64, input: f64) -> RunResult<()> { function require_unit_range (line 71) | fn require_unit_range(f: f64) -> RunResult<()> { function check_gamma_pole (line 92) | fn check_gamma_pole(f: f64) -> RunResult<()> { type MathFunctions (line 107) | pub(crate) enum MathFunctions { function create_module (line 182) | pub fn create_module(vm: &mut VM<'_, '_, impl ResourceTracker>) -> Resul... constant MATH_FUNCTIONS (line 201) | const MATH_FUNCTIONS: &[(StaticStrings, MathFunctions)] = &[ function call (line 268) | pub(super) fn call( function math_floor (line 346) | fn math_floor(heap: &mut Heap, args: ArgValues) ->... function math_ceil (line 365) | fn math_ceil(heap: &mut Heap, args: ArgValues) -> ... function math_trunc (line 383) | fn math_trunc(heap: &mut Heap, args: ArgValues) ->... function math_sqrt (line 406) | fn math_sqrt(heap: &mut Heap, args: ArgValues) -> ... function math_isqrt (line 422) | fn math_isqrt(heap: &mut Heap, args: ArgValues) ->... function math_cbrt (line 458) | fn math_cbrt(heap: &mut Heap, args: ArgValues) -> ... function math_pow (line 471) | fn math_pow(heap: &mut Heap, args: ArgValues) -> R... function math_exp (line 494) | fn math_exp(heap: &mut Heap, args: ArgValues) -> R... function math_exp2 (line 505) | fn math_exp2(heap: &mut Heap, args: ArgValues) -> ... function math_expm1 (line 518) | fn math_expm1(heap: &mut Heap, args: ArgValues) ->... function math_log (line 537) | fn math_log(heap: &mut Heap, args: ArgValues) -> R... function math_log1p (line 572) | fn math_log1p(heap: &mut Heap, args: ArgValues) ->... function math_log2 (line 589) | fn math_log2(heap: &mut Heap, args: ArgValues) -> ... function math_log10 (line 605) | fn math_log10(heap: &mut Heap, args: ArgValues) ->... function math_fabs (line 624) | fn math_fabs(heap: &mut Heap, args: ArgValues) -> ... function math_isnan (line 633) | fn math_isnan(heap: &mut Heap, args: ArgValues) ->... function math_isinf (line 642) | fn math_isinf(heap: &mut Heap, args: ArgValues) ->... function math_isfinite (line 651) | fn math_isfinite(heap: &mut Heap, args: ArgValues)... function math_copysign (line 662) | fn math_copysign(heap: &mut Heap, args: ArgValues)... function math_isclose (line 676) | fn math_isclose(heap: &mut Heap, args: ArgValues, ... function extract_isclose_kwargs (line 730) | fn extract_isclose_kwargs( function math_nextafter (line 770) | fn math_nextafter(heap: &mut Heap, args: ArgValues... function math_ulp (line 785) | fn math_ulp(heap: &mut Heap, args: ArgValues) -> R... function math_sin (line 813) | fn math_sin(heap: &mut Heap, args: ArgValues) -> R... function math_cos (line 823) | fn math_cos(heap: &mut Heap, args: ArgValues) -> R... function math_tan (line 833) | fn math_tan(heap: &mut Heap, args: ArgValues) -> R... function math_asin (line 845) | fn math_asin(heap: &mut Heap, args: ArgValues) -> ... function math_acos (line 857) | fn math_acos(heap: &mut Heap, args: ArgValues) -> ... function math_atan (line 867) | fn math_atan(heap: &mut Heap, args: ArgValues) -> ... function math_atan2 (line 877) | fn math_atan2(heap: &mut Heap, args: ArgValues) ->... function math_sinh (line 892) | fn math_sinh(heap: &mut Heap, args: ArgValues) -> ... function math_cosh (line 903) | fn math_cosh(heap: &mut Heap, args: ArgValues) -> ... function math_tanh (line 914) | fn math_tanh(heap: &mut Heap, args: ArgValues) -> ... function math_asinh (line 923) | fn math_asinh(heap: &mut Heap, args: ArgValues) ->... function math_acosh (line 934) | fn math_acosh(heap: &mut Heap, args: ArgValues) ->... function math_atanh (line 952) | fn math_atanh(heap: &mut Heap, args: ArgValues) ->... function math_degrees (line 972) | fn math_degrees(heap: &mut Heap, args: ArgValues) ... function math_radians (line 981) | fn math_radians(heap: &mut Heap, args: ArgValues) ... function math_factorial (line 997) | fn math_factorial(heap: &mut Heap, args: ArgValues... function math_gcd (line 1040) | fn math_gcd(heap: &mut Heap, args: ArgValues) -> R... function math_lcm (line 1058) | fn math_lcm(heap: &mut Heap, args: ArgValues) -> R... function math_comb (line 1082) | fn math_comb(heap: &mut Heap, args: ArgValues) -> ... function math_perm (line 1134) | fn math_perm(heap: &mut Heap, args: ArgValues) -> ... function math_fmod (line 1184) | fn math_fmod(heap: &mut Heap, args: ArgValues) -> ... function math_remainder (line 1205) | fn math_remainder(heap: &mut Heap, args: ArgValues... function math_modf (line 1233) | fn math_modf(heap: &mut Heap, args: ArgValues) -> ... function math_frexp (line 1247) | fn math_frexp(heap: &mut Heap, args: ArgValues) ->... function math_ldexp (line 1262) | fn math_ldexp(heap: &mut Heap, args: ArgValues) ->... function math_gamma (line 1296) | fn math_gamma(heap: &mut Heap, args: ArgValues) ->... function math_lgamma (line 1317) | fn math_lgamma(heap: &mut Heap, args: ArgValues) -... function math_erf (line 1330) | fn math_erf(heap: &mut Heap, args: ArgValues) -> R... function math_erfc (line 1341) | fn math_erfc(heap: &mut Heap, args: ArgValues) -> ... function float_to_int_checked (line 1361) | fn float_to_int_checked(rounded: f64, original: f64, heap: &mut Heap) -> R... function value_to_int (line 1411) | fn value_to_int(value: &Value, heap: &Heap) -> Run... function require_finite (line 1425) | fn require_finite(f: f64) -> RunResult<()> { function gcd (line 1434) | fn gcd(mut a: u64, mut b: u64) -> u64 { function u64_to_value (line 1447) | fn u64_to_value(n: u64, heap: &mut Heap) -> RunRes... FILE: crates/monty/src/modules/mod.rs type BuiltinModule (line 30) | pub(crate) enum BuiltinModule { method from_string_id (line 49) | pub fn from_string_id(string_id: StringId) -> Option { method create (line 69) | pub fn create(self, vm: &mut VM<'_, '_, impl ResourceTracker>) -> Resu... type ModuleFunctions (line 84) | pub(crate) enum ModuleFunctions { method fmt (line 92) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method call (line 107) | pub fn call(self, vm: &mut VM<'_, '_, impl ResourceTracker>, args: Arg... method py_repr_fmt (line 117) | pub fn py_repr_fmt(self, f: &mut W, py_id: usize) -> std::fm... FILE: crates/monty/src/modules/os.rs type OsFunctions (line 27) | pub(crate) enum OsFunctions { function create_module (line 44) | pub fn create_module(vm: &mut VM<'_, '_, impl ResourceTracker>) -> Resul... function call (line 68) | pub(super) fn call( function getenv (line 96) | fn getenv(heap: &mut Heap, args: ArgValues) -> Run... FILE: crates/monty/src/modules/pathlib.rs function create_module (line 26) | pub fn create_module(vm: &mut VM<'_, '_, impl ResourceTracker>) -> Resul... FILE: crates/monty/src/modules/re.rs constant NOFLAG (line 44) | pub(crate) const NOFLAG: u16 = 0; constant IGNORECASE (line 46) | pub(crate) const IGNORECASE: u16 = 2; constant MULTILINE (line 48) | pub(crate) const MULTILINE: u16 = 8; constant DOTALL (line 50) | pub(crate) const DOTALL: u16 = 16; constant ASCII (line 52) | pub(crate) const ASCII: u16 = 256; type ReFunctions (line 61) | pub(crate) enum ReFunctions { function create_module (line 92) | pub fn create_module(vm: &mut VM<'_, '_, impl ResourceTracker>) -> Resul... function call (line 186) | pub(super) fn call( function call_compile (line 208) | fn call_compile(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValu... function call_search (line 218) | fn call_search(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValue... function call_match (line 228) | fn call_match(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... function call_fullmatch (line 238) | fn call_fullmatch(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgVa... function call_findall (line 248) | fn call_findall(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValu... function call_sub (line 259) | fn call_sub(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues) ... function call_split (line 372) | fn call_split(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... function call_finditer (line 447) | fn call_finditer(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgVal... function call_escape (line 460) | fn call_escape(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValue... function should_escape (line 480) | fn should_escape(c: char) -> bool { function extract_maxsplit (line 512) | fn extract_maxsplit(val: Option, heap: &mut Heap, heap: &mut Heap) -> Resul... FILE: crates/monty/src/modules/typing.rs function create_module (line 26) | pub fn create_module(vm: &mut VM<'_, '_, impl ResourceTracker>) -> Resul... constant MARKER_ATTRS (line 44) | const MARKER_ATTRS: &[StaticStrings] = &[ FILE: crates/monty/src/namespace.rs type NamespaceId (line 7) | pub(crate) struct NamespaceId(u32); method new (line 10) | pub fn new(index: usize) -> Self { method index (line 18) | pub fn index(self) -> usize { FILE: crates/monty/src/object.rs type MontyObject (line 72) | pub enum MontyObject { method fmt (line 172) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 190) | pub(crate) fn new(value: Value, vm: &mut VM<'_, '_, impl ResourceTrack... method dict (line 197) | pub fn dict(dict: impl Into) -> Self { method to_value (line 210) | pub(crate) fn to_value(self, vm: &mut VM<'_, '_, impl ResourceTracker>... method from_value (line 317) | fn from_value(object: &Value, vm: &VM<'_, '_, impl ResourceTracker>) -... method from_value_inner (line 329) | fn from_value_inner(object: &Value, vm: &VM<'_, '_, impl ResourceTrack... method py_repr (line 504) | pub fn py_repr(&self) -> String { method repr_fmt (line 510) | fn repr_fmt(&self, f: &mut impl Write) -> fmt::Result { method is_truthy (line 676) | pub fn is_truthy(&self) -> bool { method type_name (line 705) | pub fn type_name(&self) -> &'static str { method as_ref (line 856) | fn as_ref(&self) -> &Self { method hash (line 733) | fn hash(&self, state: &mut H) { method eq (line 768) | fn eq(&self, other: &Self) -> bool { type ConversionError (line 866) | pub struct ConversionError { method new (line 876) | pub fn new(expected: &'static str, actual: &'static str) -> Self { method fmt (line 882) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type InvalidInputError (line 895) | pub enum InvalidInputError { method invalid_type (line 906) | pub fn invalid_type(msg: impl Into>) -> Self { method fmt (line 912) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method from (line 923) | fn from(err: crate::resource::ResourceError) -> Self { type Error (line 931) | type Error = ConversionError; function try_from (line 933) | fn try_from(value: &MontyObject) -> Result { type Error (line 945) | type Error = ConversionError; function try_from (line 947) | fn try_from(value: &MontyObject) -> Result { type Error (line 959) | type Error = ConversionError; method try_from (line 961) | fn try_from(value: &MontyObject) -> Result { type Error (line 974) | type Error = ConversionError; function try_from (line 976) | fn try_from(value: &MontyObject) -> Result { type DictPairs (line 989) | pub struct DictPairs(Vec<(MontyObject, MontyObject)>); method from (line 992) | fn from(pairs: Vec<(MontyObject, MontyObject)>) -> Self { method from (line 998) | fn from(map: IndexMap) -> Self { method from_iter (line 1027) | fn from_iter>(iter:... method is_empty (line 1033) | fn is_empty(&self) -> bool { method iter (line 1037) | fn iter(&self) -> impl Iterator { function from (line 1004) | fn from(pairs: DictPairs) -> Self { type Item (line 1010) | type Item = (MontyObject, MontyObject); type IntoIter (line 1011) | type IntoIter = std::vec::IntoIter; method into_iter (line 1013) | fn into_iter(self) -> Self::IntoIter { type Item (line 1018) | type Item = &'a (MontyObject, MontyObject); type IntoIter (line 1019) | type IntoIter = std::slice::Iter<'a, (MontyObject, MontyObject)>; method into_iter (line 1021) | fn into_iter(self) -> Self::IntoIter { FILE: crates/monty/src/os.rs type OsFunction (line 29) | pub enum OsFunction { type Error (line 87) | type Error = (); method try_from (line 92) | fn try_from(method: StaticStrings) -> Result { constant STAT_RESULT_TYPE_NAME (line 124) | const STAT_RESULT_TYPE_NAME: &str = "StatResult"; constant STAT_RESULT_FIELDS (line 125) | const STAT_RESULT_FIELDS: &[&str] = &[ function file_stat (line 142) | pub fn file_stat(mode: i64, size: i64, mtime: f64) -> MontyObject { function dir_stat (line 159) | pub fn dir_stat(mode: i64, mtime: f64) -> MontyObject { function symlink_stat (line 175) | pub fn symlink_stat(mode: i64, mtime: f64) -> MontyObject { function stat_result (line 187) | pub fn stat_result( FILE: crates/monty/src/parse.rs constant MAX_NESTING_DEPTH (line 30) | pub const MAX_NESTING_DEPTH: u16 = 200; constant MAX_NESTING_DEPTH (line 35) | pub const MAX_NESTING_DEPTH: u16 = 35; type ParsedParam (line 39) | pub struct ParsedParam { type ParsedSignature (line 52) | pub struct ParsedSignature { method param_names (line 69) | pub fn param_names(&self) -> impl Iterator + '_ { type RawFunctionDef (line 86) | pub struct RawFunctionDef { type ParseNode (line 102) | pub type ParseNode = Node; type Try (line 105) | pub struct Try { type ExceptHandler (line 117) | pub struct ExceptHandler { type ParseResult (line 128) | pub struct ParseResult { function parse (line 133) | pub(crate) fn parse(code: &str, filename: &str) -> Result { function new (line 174) | fn new(code: &'a str, filename: &'a str, mut interner: InternerBuilder) ... function parse_statements (line 192) | fn parse_statements(&mut self, statements: Vec) -> Result) -> R... function parse_except_handler (line 218) | fn parse_except_handler( function parse_statement (line 232) | fn parse_statement(&mut self, statement: Stmt) -> Result Result Result Result Result Result bool { function parse_simple_call_args (line 1068) | fn parse_simple_call_args( function parse_generalized_call_args (line 1100) | fn parse_generalized_call_args( function parse_keywords (line 1136) | fn parse_keywords(&mut self, keywords: Vec) -> Result<(Vec Result Result Result Identifier { function parse_params_with_defaults (line 1282) | fn parse_params_with_defaults(&mut self, params: &[ParameterWithDefault]... function parse_comprehension_generators (line 1301) | fn parse_comprehension_generators( function parse_fstring (line 1331) | fn parse_fstring(&mut self, value: &ast::FStringValue, range: TextRange)... function parse_fstring_element (line 1368) | fn parse_fstring_element(&mut self, element: &InterpolatedStringElement)... function parse_format_spec (line 1403) | fn parse_format_spec(&mut self, spec: &ast::InterpolatedStringFormatSpec... function convert_range (line 1455) | fn convert_range(&self, range: TextRange) -> CodeRange { function index_to_position (line 1474) | fn index_to_position(&self, index: usize) -> (usize, usize, Option TextRange... function first (line 1500) | fn first(v: Vec, position: CodeRange) -> Result Operator { function convert_bool_op (line 1531) | fn convert_bool_op(op: BoolOp) -> Operator { function convert_compare_op (line 1538) | fn convert_compare_op(op: CmpOp) -> CmpOperator { function convert_conversion_flag (line 1554) | fn convert_conversion_flag(flag: RuffConversionFlag) -> ConversionFlag { type CodeRange (line 1570) | pub struct CodeRange { method fmt (line 1581) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method new (line 1591) | fn new(filename: StringId, start: CodeLoc, end: CodeLoc, preview_line:... method start (line 1602) | pub fn start(&self) -> CodeLoc { method end (line 1608) | pub fn end(&self) -> CodeLoc { method preview_line_number (line 1614) | pub fn preview_line_number(&self) -> Option { type ParseError (line 1621) | pub enum ParseError { method not_implemented (line 1646) | fn not_implemented(msg: impl Into>, position: CodeRa... method not_supported (line 1653) | fn not_supported(msg: impl Into>, position: CodeRang... method import_error (line 1660) | fn import_error(msg: impl Into>, position: CodeRange... method syntax (line 1667) | pub(crate) fn syntax(msg: impl Into>, position: Code... method into_python_exc (line 1676) | pub fn into_python_exc(self, filename: &str, source: &str) -> MontyExc... function parse_int_literal (line 1711) | fn parse_int_literal(s: &str) -> Option { FILE: crates/monty/src/prepare.rs type PrepareResult (line 26) | pub struct PrepareResult { function prepare (line 46) | pub(crate) fn prepare(parse_result: ParseResult, input_names: Vec { function new_module (line 165) | fn new_module(input_names: Vec, interner: &'i InternerBuilder) -... function new_module_with_name_map (line 190) | fn new_module_with_name_map(name_map: AHashMap, int... function new_function (line 230) | fn new_function( function prepare_nodes (line 310) | fn prepare_nodes(&mut self, nodes: Vec) -> Result Result Expr { function prepare_sequence_item (line 873) | fn prepare_sequence_item(&mut self, item: SequenceItem) -> Result UnpackTarget { function prepare_unpack_target_for_comprehension (line 1044) | fn prepare_unpack_target_for_comprehension(&mut self, target: UnpackTarg... function prepare_unpack_target_shadow_only (line 1093) | fn prepare_unpack_target_shadow_only(&mut self, target: UnpackTarget) ->... function shadow_for_comprehension (line 1152) | fn shadow_for_comprehension(&mut self, name_str: &str, comp_var_id: Name... function prepare_function_def (line 1181) | fn prepare_function_def( function prepare_lambda (line 1388) | fn prepare_lambda( function get_id (line 1601) | fn get_id(&mut self, ident: Identifier) -> (Identifier, bool) { function prepare_fstring_part (line 1792) | fn prepare_fstring_part(&mut self, part: FStringPart) -> Result { function new (line 66) | pub fn new(script_name: &str, resource_tracker: T) -> Self { function feed_start (line 96) | pub fn feed_start( function feed_run (line 159) | pub fn feed_run( function ensure_globals_size (line 227) | fn ensure_globals_size(&mut self, size: usize) { function next_input_script_name (line 238) | fn next_input_script_name(&mut self) -> String { function dump (line 253) | pub fn dump(&self) -> Result, postcard::Error> { function load (line 263) | pub fn load(bytes: &[u8]) -> Result { method drop (line 269) | fn drop(&mut self) { type ReplProgress (line 286) | pub enum ReplProgress { type ReplStartError (line 311) | pub struct ReplStartError { function into_function_call (line 321) | pub fn into_function_call(self) -> Option> { function into_resolve_futures (line 330) | pub fn into_resolve_futures(self) -> Option> { function into_name_lookup (line 339) | pub fn into_name_lookup(self) -> Option> { function into_complete (line 348) | pub fn into_complete(self) -> Option<(MontyRepl, MontyObject)> { function into_repl (line 363) | pub fn into_repl(self) -> MontyRepl { function dump (line 379) | pub fn dump(&self) -> Result, postcard::Error> { function load (line 389) | pub fn load(bytes: &[u8]) -> Result { type ReplFunctionCall (line 404) | pub struct ReplFunctionCall { function into_repl (line 424) | pub fn into_repl(self) -> MontyRepl { function resume (line 429) | pub fn resume( function resume_pending (line 440) | pub fn resume_pending(self, print: PrintWriter<'_>) -> Result { function into_repl (line 472) | pub fn into_repl(self) -> MontyRepl { function resume (line 477) | pub fn resume( type ReplNameLookup (line 497) | pub struct ReplNameLookup { function into_repl (line 513) | pub fn into_repl(self) -> MontyRepl { function resume (line 521) | pub fn resume( type ReplResolveFutures (line 605) | pub struct ReplResolveFutures { function into_repl (line 619) | pub fn into_repl(self) -> MontyRepl { function pending_call_ids (line 625) | pub fn pending_call_ids(&self) -> &[u32] { function resume (line 637) | pub fn resume( type ReplContinuationMode (line 748) | pub enum ReplContinuationMode { function detect_repl_continuation_mode (line 767) | pub fn detect_repl_continuation_mode(source: &str) -> ReplContinuationMo... type ReplExecutor (line 803) | struct ReplExecutor { method new_repl_snippet (line 835) | fn new_repl_snippet( type ReplSnapshot (line 885) | pub(crate) struct ReplSnapshot { function into_repl (line 900) | fn into_repl(self) -> MontyRepl { function run (line 907) | fn run( function inject_inputs_into_vm (line 963) | fn inject_inputs_into_vm( function frame_exit_to_object (line 987) | fn frame_exit_to_object( function build_repl_progress (line 1033) | fn build_repl_progress( FILE: crates/monty/src/resource.rs constant LARGE_RESULT_THRESHOLD (line 18) | pub const LARGE_RESULT_THRESHOLD: usize = 100_000; function check_repeat_size (line 25) | pub fn check_repeat_size(item_len: usize, count: usize, tracker: &impl R... function check_pow_size (line 39) | pub fn check_pow_size(base_bits: u64, exponent: u64, tracker: &impl Reso... function check_mult_size (line 54) | pub fn check_mult_size(a_bits: u64, b_bits: u64, tracker: &impl Resource... function check_lshift_size (line 62) | pub fn check_lshift_size( function check_div_size (line 77) | pub fn check_div_size(dividend_bits: u64, tracker: &impl ResourceTracker... function check_replace_size (line 90) | pub fn check_replace_size( function check_estimated_size (line 120) | pub(crate) fn check_estimated_size( function estimate_bits_to_bytes (line 134) | fn estimate_bits_to_bytes(bits: u64) -> usize { type ResourceError (line 143) | pub enum ResourceError { method fmt (line 157) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method into_exception (line 189) | pub(crate) fn into_exception(self, frame: Option) -> Ex... method from (line 218) | fn from(err: ResourceError) -> Self { type ResourceTracker (line 238) | pub trait ResourceTracker: fmt::Debug { method on_allocate (line 246) | fn on_allocate(&mut self, get_size: impl FnOnce() -> usize) -> Result<... method on_free (line 252) | fn on_free(&mut self, get_size: impl FnOnce() -> usize); method check_time (line 262) | fn check_time(&self) -> Result<(), ResourceError>; method check_recursion_depth (line 271) | fn check_recursion_depth(&self, current_depth: usize) -> Result<(), Re... method check_large_result (line 284) | fn check_large_result(&self, estimated_bytes: usize) -> Result<(), Res... method on_allocate (line 295) | fn on_allocate(&mut self, _: impl FnOnce() -> usize) -> Result<(), Res... method on_free (line 300) | fn on_free(&mut self, _: impl FnOnce() -> usize) {} method check_time (line 303) | fn check_time(&self) -> Result<(), ResourceError> { method check_recursion_depth (line 312) | fn check_recursion_depth(&self, current_depth: usize) -> Result<(), Re... method check_large_result (line 325) | fn check_large_result(&self, _estimated_bytes: usize) -> Result<(), Re... method on_allocate (line 479) | fn on_allocate(&mut self, get_size: impl FnOnce() -> usize) -> Result<... method on_free (line 509) | fn on_free(&mut self, get_size: impl FnOnce() -> usize) { method check_time (line 513) | fn check_time(&self) -> Result<(), ResourceError> { method check_recursion_depth (line 533) | fn check_recursion_depth(&self, current_depth: usize) -> Result<(), Re... method check_large_result (line 546) | fn check_large_result(&self, estimated_bytes: usize) -> Result<(), Res... type NoLimitTracker (line 291) | pub struct NoLimitTracker; type ResourceLimits (line 337) | pub struct ResourceLimits { method new (line 356) | pub fn new() -> Self { method max_allocations (line 365) | pub fn max_allocations(mut self, limit: usize) -> Self { method max_duration (line 372) | pub fn max_duration(mut self, limit: Duration) -> Self { method max_memory (line 379) | pub fn max_memory(mut self, limit: usize) -> Self { method gc_interval (line 386) | pub fn gc_interval(mut self, interval: usize) -> Self { method max_recursion_depth (line 393) | pub fn max_recursion_depth(mut self, limit: Option) -> Self { constant DEFAULT_MAX_RECURSION_DEPTH (line 351) | pub const DEFAULT_MAX_RECURSION_DEPTH: usize = 1000; constant TIME_CHECK_INTERVAL (line 405) | const TIME_CHECK_INTERVAL: u16 = 10; type LimitedTracker (line 416) | pub struct LimitedTracker { method new (line 439) | pub fn new(limits: ResourceLimits) -> Self { method allocation_count (line 451) | pub fn allocation_count(&self) -> usize { method current_memory (line 457) | pub fn current_memory(&self) -> usize { method elapsed (line 463) | pub fn elapsed(&self) -> Duration { method set_max_duration (line 472) | pub fn set_max_duration(&mut self, duration: Duration) { FILE: crates/monty/src/run.rs type MontyRun (line 35) | pub struct MontyRun { method new (line 53) | pub fn new(code: String, script_name: &str, input_names: Vec) ... method code (line 59) | pub fn code(&self) -> &str { method run_ref_counts (line 65) | pub fn run_ref_counts(&self, inputs: Vec) -> Result) -> Result Result, postcard::Error> { method load (line 110) | pub fn load(bytes: &[u8]) -> Result { method start (line 139) | pub fn start( type Executor (line 168) | pub(crate) struct Executor { method new (line 201) | pub(crate) fn new(code: String, script_name: &str, input_names: Vec) -> Result Vec { method populate_inputs (line 379) | pub(crate) fn populate_inputs( method clone (line 186) | fn clone(&self) -> Self { function frame_exit_to_object (line 401) | fn frame_exit_to_object( type RefCountOutput (line 447) | pub struct RefCountOutput { FILE: crates/monty/src/run_progress.rs type RunProgress (line 40) | pub enum RunProgress { function into_function_call (line 56) | pub fn into_function_call(self) -> Option> { function into_os_call (line 65) | pub fn into_os_call(self) -> Option> { function into_complete (line 74) | pub fn into_complete(self) -> Option { function into_resolve_futures (line 83) | pub fn into_resolve_futures(self) -> Option> { function into_name_lookup (line 92) | pub fn into_name_lookup(self) -> Option> { function dump (line 105) | pub fn dump(&self) -> Result, postcard::Error> { function load (line 115) | pub fn load(bytes: &[u8]) -> Result { type FunctionCall (line 137) | pub struct FunctionCall { function new (line 154) | fn new( function tracker_mut (line 176) | pub fn tracker_mut(&mut self) -> &mut T { function resume (line 187) | pub fn resume( function resume_pending (line 206) | pub fn resume_pending(self, print: PrintWriter<'_>) -> Result { function new (line 238) | fn new( function resume (line 259) | pub fn resume( type NameLookup (line 283) | pub struct NameLookup { function new (line 296) | fn new(name: String, namespace_slot: u16, is_global: bool, snapshot: Sna... function resume (line 313) | pub fn resume( type ResolveFutures (line 377) | pub struct ResolveFutures { function new (line 390) | fn new(executor: Executor, vm_state: VMSnapshot, heap: Heap, pending_... function pending_call_ids (line 401) | pub fn pending_call_ids(&self) -> &[u32] { function resume (line 420) | pub fn resume( type Snapshot (line 514) | pub(crate) struct Snapshot { function run (line 525) | pub(crate) fn run( type NameLookupResult (line 567) | pub enum NameLookupResult { method from (line 575) | fn from(value: MontyObject) -> Self { type ExtFunctionResult (line 582) | pub enum ExtFunctionResult { method not_found_exc (line 598) | pub(crate) fn not_found_exc(function_name: &str) -> RunError { method from (line 605) | fn from(value: MontyObject) -> Self { method from (line 611) | fn from(exception: MontyException) -> Self { type ConvertedExit (line 629) | pub(crate) enum ConvertedExit { method needs_snapshot (line 661) | pub(crate) fn needs_snapshot(&self) -> bool { function convert_frame_exit (line 670) | pub(crate) fn convert_frame_exit( function check_snapshot_from_converted (line 743) | pub(crate) fn check_snapshot_from_converted( function build_run_progress (line 759) | pub(crate) fn build_run_progress( FILE: crates/monty/src/signature.rs type Signature (line 48) | pub(crate) struct Signature { method new (line 130) | pub fn new( method bind (line 203) | pub fn bind( method param_count (line 523) | pub fn param_count(&self) -> usize { method total_slots (line 533) | pub fn total_slots(&self) -> usize { method total_defaults_count (line 545) | pub fn total_defaults_count(&self) -> usize { method required_positional_count (line 554) | fn required_positional_count(&self) -> usize { method kwarg_defaults_count (line 558) | fn kwarg_defaults_count(&self) -> usize { method pos_arg_count (line 566) | fn pos_arg_count(&self) -> usize { method arg_count (line 571) | fn arg_count(&self) -> usize { method kwarg_count (line 576) | fn kwarg_count(&self) -> usize { method param_names (line 583) | fn param_names(&self) -> impl Iterator + '_ { method max_positional_count (line 596) | fn max_positional_count(&self) -> Option { method wrong_arg_count_error (line 612) | fn wrong_arg_count_error(&self, actual_count: usize, interns: &Inte... type BindMode (line 92) | enum BindMode { FILE: crates/monty/src/sorting.rs function sort_indices (line 29) | pub fn sort_indices( function apply_permutation (line 84) | pub fn apply_permutation(items: &mut [Value], indices: &mut [usize]) { FILE: crates/monty/src/types/bytes.rs function is_py_whitespace (line 97) | fn is_py_whitespace(b: u8) -> bool { function get_byte_at_index (line 105) | pub fn get_byte_at_index(bytes: &[u8], index: i64) -> Option { function get_bytes_slice (line 125) | pub(crate) fn get_bytes_slice(bytes: &[u8], start: usize, stop: usize, s... type Bytes (line 166) | pub(crate) struct Bytes(Vec); method new (line 171) | pub fn new(bytes: Vec) -> Self { method as_slice (line 177) | pub fn as_slice(&self) -> &[u8] { method init (line 189) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method from (line 224) | fn from(bytes: Vec) -> Self { method from (line 230) | fn from(bytes: &[u8]) -> Self { type Target (line 242) | type Target = Vec; method deref (line 244) | fn deref(&self) -> &Self::Target { function from (line 236) | fn from(bytes: Bytes) -> Self { method py_type (line 250) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 254) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_getitem (line 258) | fn py_getitem(&self, key: &Value, vm: &mut VM<'_, '_, impl ResourceTrack... method py_eq (line 281) | fn py_eq(&self, other: &Self, _vm: &mut VM<'_, '_, impl ResourceTracker>... method py_cmp (line 285) | fn py_cmp( method py_bool (line 293) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 297) | fn py_repr_fmt( method py_call_attr (line 306) | fn py_call_attr( method py_estimate_size (line 323) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 327) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { function call_bytes_method (line 336) | pub fn call_bytes_method( function call_bytes_method_impl (line 354) | fn call_bytes_method_impl( function bytes_repr_fmt (line 465) | pub fn bytes_repr_fmt(bytes: &[u8], f: &mut impl Write) -> std::fmt::Res... function bytes_repr (line 496) | pub fn bytes_repr(bytes: &[u8]) -> String { function bytes_decode (line 506) | fn bytes_decode(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl ... function get_encoding_str (line 534) | fn get_encoding_str<'a>( function bytes_count (line 555) | fn bytes_count(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl R... function count_non_overlapping (line 571) | fn count_non_overlapping(haystack: &[u8], needle: &[u8]) -> usize { function bytes_find (line 588) | fn bytes_find(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl Re... function find_subsequence (line 607) | fn find_subsequence(haystack: &[u8], needle: &[u8]) -> Option { function bytes_index (line 614) | fn bytes_index(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl R... function bytes_startswith (line 639) | fn bytes_startswith(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, i... function bytes_endswith (line 655) | fn bytes_endswith(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, imp... type PrefixSuffixArg (line 670) | enum PrefixSuffixArg { function parse_bytes_prefix_suffix_args (line 682) | fn parse_bytes_prefix_suffix_args( function extract_bytes_for_prefix_suffix (line 719) | fn extract_bytes_for_prefix_suffix( function extract_single_bytes_for_prefix_suffix (line 767) | fn extract_single_bytes_for_prefix_suffix( function extract_bytes_only (line 787) | fn extract_bytes_only<'a>( function parse_bytes_sub_args (line 808) | fn parse_bytes_sub_args( function normalize_bytes_index (line 842) | fn normalize_bytes_index(index: i64, len: usize) -> usize { function bytes_lower (line 858) | fn bytes_lower(bytes: &[u8], vm: &mut VM<'_, '_, impl ResourceTracker>) ... function bytes_upper (line 866) | fn bytes_upper(bytes: &[u8], vm: &mut VM<'_, '_, impl ResourceTracker>) ... function bytes_capitalize (line 875) | fn bytes_capitalize(bytes: &[u8], vm: &mut VM<'_, '_, impl ResourceTrack... function bytes_title (line 890) | fn bytes_title(bytes: &[u8], vm: &mut VM<'_, '_, impl ResourceTracker>) ... function bytes_swapcase (line 910) | fn bytes_swapcase(bytes: &[u8], vm: &mut VM<'_, '_, impl ResourceTracker... function bytes_isalpha (line 933) | fn bytes_isalpha(bytes: &[u8]) -> bool { function bytes_isdigit (line 940) | fn bytes_isdigit(bytes: &[u8]) -> bool { function bytes_isalnum (line 947) | fn bytes_isalnum(bytes: &[u8]) -> bool { function bytes_isspace (line 954) | fn bytes_isspace(bytes: &[u8]) -> bool { function bytes_islower (line 961) | fn bytes_islower(bytes: &[u8]) -> bool { function bytes_isupper (line 977) | fn bytes_isupper(bytes: &[u8]) -> bool { function bytes_istitle (line 994) | fn bytes_istitle(bytes: &[u8]) -> bool { function bytes_rfind (line 1030) | fn bytes_rfind(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl R... function rfind_subsequence (line 1049) | fn rfind_subsequence(haystack: &[u8], needle: &[u8]) -> Option { function bytes_rindex (line 1059) | fn bytes_rindex(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl ... function bytes_strip (line 1086) | fn bytes_strip(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl R... function bytes_lstrip (line 1099) | fn bytes_lstrip(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl ... function bytes_rstrip (line 1112) | fn bytes_rstrip(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl ... function bytes_strip_both (line 1123) | fn bytes_strip_both<'a>(bytes: &'a [u8], chars: &[u8]) -> &'a [u8] { function bytes_strip_start (line 1133) | fn bytes_strip_start<'a>(bytes: &'a [u8], chars: &[u8]) -> &'a [u8] { function bytes_strip_end (line 1139) | fn bytes_strip_end<'a>(bytes: &'a [u8], chars: &[u8]) -> &'a [u8] { function bytes_strip_whitespace_both (line 1145) | fn bytes_strip_whitespace_both(bytes: &[u8]) -> &[u8] { function bytes_strip_whitespace_start (line 1155) | fn bytes_strip_whitespace_start(bytes: &[u8]) -> &[u8] { function bytes_strip_whitespace_end (line 1161) | fn bytes_strip_whitespace_end(bytes: &[u8]) -> &[u8] { function bytes_removeprefix (line 1173) | fn bytes_removeprefix(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_,... function bytes_removesuffix (line 1190) | fn bytes_removesuffix(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_,... function bytes_split (line 1210) | fn bytes_split(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl R... function bytes_rsplit (line 1249) | fn bytes_rsplit(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl ... function parse_bytes_split_args (line 1286) | fn parse_bytes_split_args( function bytes_split_by_seq (line 1363) | fn bytes_split_by_seq<'a>(bytes: &'a [u8], sep: &[u8]) -> Vec<&'a [u8]> { function bytes_splitn_by_seq (line 1377) | fn bytes_splitn_by_seq<'a>(bytes: &'a [u8], sep: &[u8], n: usize) -> Vec... function bytes_rsplitn_by_seq (line 1397) | fn bytes_rsplitn_by_seq<'a>(bytes: &'a [u8], sep: &[u8], n: usize) -> Ve... function bytes_split_whitespace (line 1418) | fn bytes_split_whitespace(bytes: &[u8]) -> Vec<&[u8]> { function bytes_splitn_whitespace (line 1441) | fn bytes_splitn_whitespace(bytes: &[u8], maxsplit: usize) -> Vec<&[u8]> { function bytes_rsplitn_whitespace (line 1471) | fn bytes_rsplitn_whitespace(bytes: &[u8], maxsplit: usize) -> Vec<&[u8]> { function bytes_splitlines (line 1504) | fn bytes_splitlines(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, i... function parse_bytes_splitlines_args (line 1554) | fn parse_bytes_splitlines_args(args: ArgValues, vm: &mut VM<'_, '_, impl... function bytes_partition (line 1605) | fn bytes_partition(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, im... function bytes_rpartition (line 1632) | fn bytes_rpartition(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, i... function bytes_replace (line 1663) | fn bytes_replace(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl... function parse_bytes_replace_args (line 1679) | fn parse_bytes_replace_args( function bytes_replace_all (line 1754) | fn bytes_replace_all( function bytes_replace_n (line 1788) | fn bytes_replace_n( function bytes_center (line 1834) | fn bytes_center(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl ... function bytes_ljust (line 1862) | fn bytes_ljust(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl R... function bytes_rjust (line 1885) | fn bytes_rjust(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl R... function parse_bytes_justify_args (line 1906) | fn parse_bytes_justify_args( function bytes_zfill (line 1945) | fn bytes_zfill(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl R... function bytes_join (line 1986) | fn bytes_join(separator: &[u8], iterable: Value, vm: &mut VM<'_, '_, imp... function bytes_hex (line 2037) | fn bytes_hex(bytes: &[u8], args: ArgValues, vm: &mut VM<'_, '_, impl Res... function parse_bytes_hex_args (line 2101) | fn parse_bytes_hex_args(args: ArgValues, vm: &mut VM<'_, '_, impl Resour... function bytes_fromhex (line 2145) | pub fn bytes_fromhex(args: ArgValues, vm: &mut VM<'_, '_, impl ResourceT... function hex_char_to_value (line 2221) | fn hex_char_to_value(c: char) -> Option { function allocate_bytes (line 2235) | fn allocate_bytes(bytes: Vec, heap: &mut Heap)... FILE: crates/monty/src/types/dataclass.rs type Dataclass (line 48) | pub(crate) struct Dataclass { method new (line 71) | pub fn new(name: impl Into, type_id: u64, field_names: Vec<... method name (line 83) | pub fn name<'a>(&'a self, interns: &'a Interns) -> &'a str { method type_id (line 89) | pub fn type_id(&self) -> u64 { method field_names (line 95) | pub fn field_names(&self) -> &[String] { method has_refs (line 104) | pub fn has_refs(&self) -> bool { method attrs (line 110) | pub fn attrs(&self) -> &Dict { method is_frozen (line 116) | pub fn is_frozen(&self) -> bool { method set_attr (line 127) | pub fn set_attr( method compute_hash (line 152) | pub fn compute_hash( method serialize (line 316) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result... method py_type (line 187) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 191) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 196) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>)... method py_bool (line 201) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 206) | fn py_repr_fmt( method py_call_attr (line 255) | fn py_call_attr( method py_getattr (line 289) | fn py_getattr(&self, attr: &EitherStr, vm: &mut VM<'_, '_, impl Resource... method py_estimate_size (line 300) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 307) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { FILE: crates/monty/src/types/dict.rs type Dict (line 61) | pub(crate) struct Dict { method new (line 83) | pub fn new() -> Self { method with_capacity (line 87) | pub fn with_capacity(capacity: usize) -> Self { method has_refs (line 107) | pub fn has_refs(&self) -> bool { method from_pairs (line 116) | pub fn from_pairs(pairs: Vec<(Value, Value)>, vm: &mut VM<'_, '_, impl... method get (line 134) | pub fn get(&self, key: &Value, vm: &mut VM<'_, '_, impl ResourceTracke... method get_by_str (line 146) | pub fn get_by_str(&self, key_str: &str, heap: &Heap usize { method is_empty (line 257) | pub fn is_empty(&self) -> bool { method iter (line 262) | pub fn iter(&self) -> DictIter<'_> { method key_at (line 270) | pub fn key_at(&self, index: usize) -> Option<&Value> { method value_at (line 278) | pub fn value_at(&self, index: usize) -> Option<&Value> { method item_at (line 286) | pub fn item_at(&self, index: usize) -> Option<(&Value, &Value)> { method init (line 303) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method find_index_hash (line 331) | fn find_index_hash( method serialize (line 818) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result... type DictEntry (line 73) | struct DictEntry { type DictIter (line 352) | pub(crate) struct DictIter<'a>(std::slice::Iter<'a, DictEntry>); type Item (line 355) | type Item = (&'a Value, &'a Value); method next (line 356) | fn next(&mut self) -> Option { type Item (line 362) | type Item = (&'a Value, &'a Value); type IntoIter (line 363) | type IntoIter = DictIter<'a>; method into_iter (line 364) | fn into_iter(self) -> Self::IntoIter { type DictIntoIter (line 370) | pub(crate) struct DictIntoIter(std::vec::IntoIter); type Item (line 373) | type Item = (Value, Value); method next (line 375) | fn next(&mut self) -> Option { method size_hint (line 379) | fn size_hint(&self) -> (usize, Option) { type Item (line 387) | type Item = (Value, Value); type IntoIter (line 388) | type IntoIter = DictIntoIter; method into_iter (line 389) | fn into_iter(self) -> Self::IntoIter { method py_type (line 395) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 399) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 403) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>)... method py_bool (line 423) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 427) | fn py_repr_fmt( method py_getitem (line 464) | fn py_getitem(&self, key: &Value, vm: &mut VM<'_, '_, impl ResourceTrack... method py_setitem (line 471) | fn py_setitem(&mut self, key: Value, value: Value, vm: &mut VM<'_, '_, i... method py_call_attr (line 479) | fn py_call_attr( method py_estimate_size (line 573) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 578) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { method drop_with_heap (line 599) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 605) | fn drop_with_heap(self, heap: &mut H) { function dict_clear (line 614) | fn dict_clear(dict: &mut Dict, heap: &mut Heap) { function dict_copy (line 623) | fn dict_copy(dict: &Dict, vm: &mut VM<'_, '_, impl ResourceTracker>) -> ... function dict_update (line 641) | fn dict_update(dict: &mut Dict, args: ArgValues, vm: &mut VM<'_, '_, imp... function dict_merge_from_value (line 664) | fn dict_merge_from_value( function dict_merge_from_iterable_pairs (line 699) | fn dict_merge_from_iterable_pairs( function dict_merge_from_kwargs (line 748) | fn dict_merge_from_kwargs( function dict_setdefault (line 766) | fn dict_setdefault(dict: &mut Dict, args: ArgValues, vm: &mut VM<'_, '_,... function dict_popitem (line 793) | fn dict_popitem(dict: &mut Dict, heap: &mut Heap) ... function dict_fromkeys (line 858) | pub fn dict_fromkeys(args: ArgValues, vm: &mut VM<'_, '_, impl ResourceT... FILE: crates/monty/src/types/dict_view.rs type DictView (line 25) | pub(crate) trait DictView { method dict_id (line 27) | fn dict_id(&self) -> HeapId; method dict (line 30) | fn dict<'a>(&self, heap: &'a Heap) -> &'a Dict { method dict_id (line 146) | fn dict_id(&self) -> HeapId { method dict_id (line 327) | fn dict_id(&self) -> HeapId { method dict_id (line 413) | fn dict_id(&self) -> HeapId { type DictKeysView (line 44) | pub(crate) struct DictKeysView { method new (line 51) | pub fn new(dict_id: HeapId) -> Self { method dict_id (line 57) | pub fn dict_id(self) -> HeapId { method eq_view (line 65) | pub(crate) fn eq_view(self, other: Self, vm: &mut VM<'_, '_, impl Reso... method eq_set (line 79) | pub(crate) fn eq_set(self, other: &Set, vm: &mut VM<'_, '_, impl Resou... method eq_frozenset (line 94) | pub(crate) fn eq_frozenset( method to_set (line 117) | pub(crate) fn to_set(self, vm: &mut VM<'_, '_, impl ResourceTracker>) ... method isdisjoint_from_value (line 132) | pub(crate) fn isdisjoint_from_value( method py_type (line 152) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 156) | fn py_len(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 160) | fn py_eq( method py_repr_fmt (line 168) | fn py_repr_fmt( method py_call_attr (line 179) | fn py_call_attr( method py_estimate_size (line 198) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 202) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { type DictItemsView (line 213) | pub(crate) struct DictItemsView { method new (line 220) | pub fn new(dict_id: HeapId) -> Self { method dict_id (line 226) | pub fn dict_id(self) -> HeapId { method eq_view (line 231) | pub(crate) fn eq_view(self, other: Self, vm: &mut VM<'_, '_, impl Reso... method eq_set (line 260) | pub(crate) fn eq_set(self, other: &Set, vm: &mut VM<'_, '_, impl Resou... method eq_frozenset (line 275) | pub(crate) fn eq_frozenset( method to_set (line 297) | pub(crate) fn to_set(self, vm: &mut VM<'_, '_, impl ResourceTracker>) ... method isdisjoint_from_value (line 313) | pub(crate) fn isdisjoint_from_value( method py_type (line 333) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 337) | fn py_len(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 341) | fn py_eq( method py_repr_fmt (line 349) | fn py_repr_fmt( method py_call_attr (line 360) | fn py_call_attr( method py_estimate_size (line 379) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 383) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { type DictValuesView (line 394) | pub(crate) struct DictValuesView { method new (line 401) | pub fn new(dict_id: HeapId) -> Self { method dict_id (line 407) | pub fn dict_id(self) -> HeapId { method py_type (line 419) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 423) | fn py_len(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 427) | fn py_eq( method py_repr_fmt (line 435) | fn py_repr_fmt( method py_estimate_size (line 448) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 452) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { function dict_keys_eq_dict (line 458) | fn dict_keys_eq_dict( function dict_keys_eq_set_like (line 472) | fn dict_keys_eq_set_like( function dict_items_eq_set_like (line 494) | fn dict_items_eq_set_like( function write_dict_keys_contents (line 518) | fn write_dict_keys_contents( function write_dict_items_contents (line 536) | fn write_dict_items_contents( function write_dict_values_contents (line 558) | fn write_dict_values_contents( function collect_iterable_to_set (line 580) | pub(crate) fn collect_iterable_to_set( function sets_are_disjoint (line 612) | fn sets_are_disjoint(left: &Set, right: &Set, vm: &mut VM<'_, '_, impl R... FILE: crates/monty/src/types/iter.rs type MontyIter (line 52) | pub struct MontyIter { method init (line 67) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method new (line 97) | pub fn new(mut value: Value, vm: &mut VM<'_, '_, impl ResourceTracker>... method drop_with_heap (line 120) | pub fn drop_with_heap(self, heap: &mut impl ContainsHeap) { method py_dec_ref_ids (line 125) | pub fn py_dec_ref_ids(&mut self, stack: &mut Vec) { method has_refs (line 134) | pub fn has_refs(&self) -> bool { method value (line 141) | pub fn value(&self) -> &Value { method iter_state (line 152) | fn iter_state(&self) -> Option { method advance (line 208) | pub fn advance(&mut self, string_char_len: Option) { method try_advance_simple (line 225) | fn try_advance_simple(&mut self, interns: &Interns) -> Option) ... method size_hint (line 351) | pub fn size_hint(&self, heap: &Heap) -> usize { method collect (line 373) | pub fn collect>(self, vm: &mut VM<'_, '_, impl ... type HeapedMontyIter (line 380) | struct HeapedMontyIter<'this, 'a, 'p, T: ResourceTracker>(&'this mut Mon... type Item (line 383) | type Item = RunResult; method next (line 385) | fn next(&mut self) -> Option { method size_hint (line 389) | fn size_hint(&self) -> (usize, Option) { function advance_on_heap (line 410) | pub(crate) fn advance_on_heap( function get_heap_item (line 469) | fn get_heap_item( function iterator_next (line 575) | pub fn iterator_next( type IterState (line 628) | enum IterState { type IterValue (line 645) | enum IterValue { method new (line 687) | fn new(value: &Value, vm: &mut VM<'_, '_, impl ResourceTracker>) -> Op... method from_range (line 697) | fn from_range(range: &Range) -> Self { method from_str (line 708) | fn from_str(s: &str) -> Self { method from_intern_bytes (line 720) | fn from_intern_bytes(bytes_id: BytesId, interns: &Interns) -> Self { method from_heap_data (line 729) | fn from_heap_data(heap_id: HeapId, heap: &Heap) ... method drop_with_heap (line 796) | fn drop_with_heap(self, heap: &mut H) { method py_estimate_size (line 802) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 806) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { FILE: crates/monty/src/types/list.rs type List (line 56) | pub(crate) struct List { method new (line 72) | pub fn new(vec: Vec) -> Self { method as_slice (line 82) | pub fn as_slice(&self) -> &[Value] { method as_vec_mut (line 93) | pub fn as_vec_mut(&mut self) -> &mut Vec { method len (line 99) | pub fn len(&self) -> usize { method contains_refs (line 108) | pub fn contains_refs(&self) -> bool { method set_contains_refs (line 117) | pub fn set_contains_refs(&mut self) { method append (line 128) | pub fn append(&mut self, heap: &mut Heap, item: ... method insert (line 149) | pub fn insert(&mut self, heap: &mut Heap, index:... method init (line 168) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method getitem_slice (line 186) | fn getitem_slice(&self, slice: &crate::types::Slice, heap: &mut Heap Self { method py_type (line 204) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 208) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_getitem (line 212) | fn py_getitem(&self, key: &Value, vm: &mut VM<'_, '_, impl ResourceTrack... method py_setitem (line 241) | fn py_setitem(&mut self, key: Value, value: Value, vm: &mut VM<'_, '_, i... method py_eq (line 296) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>)... method py_bool (line 311) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 315) | fn py_repr_fmt( method py_add (line 324) | fn py_add( method py_iadd (line 338) | fn py_iadd( method py_call_attr (line 387) | fn py_call_attr( method py_estimate_size (line 409) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 413) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { function call_list_method (line 437) | fn call_list_method( function list_insert (line 479) | fn list_insert(list: &mut List, args: ArgValues, heap: &mut Heap) { function list_copy (line 579) | fn list_copy(list: &List, heap: &mut Heap) -> Resu... function list_extend (line 588) | fn list_extend(list: &mut List, args: ArgValues, vm: &mut VM<'_, '_, imp... function list_index (line 604) | fn list_index(list: &List, args: ArgValues, vm: &mut VM<'_, '_, impl Res... function list_count (line 639) | fn list_count(list: &List, args: ArgValues, vm: &mut VM<'_, '_, impl Res... function normalize_list_index (line 656) | fn normalize_list_index(index: i64, len: usize) -> usize { function do_list_sort (line 666) | fn do_list_sort(list: &mut List, args: ArgValues, vm: &mut VM<'_, '_, im... function repr_sequence_fmt (line 735) | pub(crate) fn repr_sequence_fmt( function get_slice_items (line 777) | pub(crate) fn get_slice_items( function create_test_interns (line 834) | fn create_test_interns() -> Interns { function create_heap_with_list_and_longint (line 842) | fn create_heap_with_list_and_longint( function py_setitem_longint_fits_in_i64 (line 860) | fn py_setitem_longint_fits_in_i64() { function py_setitem_longint_negative_fits_in_i64 (line 887) | fn py_setitem_longint_negative_fits_in_i64() { function py_setitem_longint_at_i64_max (line 914) | fn py_setitem_longint_at_i64_max() { FILE: crates/monty/src/types/long_int.rs type LongInt (line 37) | pub struct LongInt(pub BigInt); method new (line 41) | pub fn new(bi: BigInt) -> Self { method into_value (line 50) | pub fn into_value(self, heap: &mut Heap) -> Resu... method hash (line 65) | pub fn hash(&self) -> u64 { method estimate_size (line 89) | pub fn estimate_size(&self) -> usize { method inner (line 103) | pub fn inner(&self) -> &BigInt { method is_zero (line 108) | pub fn is_zero(&self) -> bool { method is_negative (line 113) | pub fn is_negative(&self) -> bool { method to_i64 (line 120) | pub fn to_i64(&self) -> Option { method to_f64 (line 128) | pub fn to_f64(&self) -> Option { method to_u32 (line 135) | pub fn to_u32(&self) -> Option { method to_usize (line 143) | pub fn to_usize(&self) -> Option { method abs (line 148) | pub fn abs(&self) -> Self { method bits (line 156) | pub fn bits(&self) -> u64 { method from (line 164) | fn from(bi: BigInt) -> Self { method from (line 170) | fn from(i: i64) -> Self { type Output (line 176) | type Output = Self; method add (line 178) | fn add(self, rhs: Self) -> Self::Output { type Output (line 184) | type Output = Self; method sub (line 186) | fn sub(self, rhs: Self) -> Self::Output { type Output (line 192) | type Output = Self; method mul (line 194) | fn mul(self, rhs: Self) -> Self::Output { type Output (line 200) | type Output = Self; method neg (line 202) | fn neg(self) -> Self::Output { method fmt (line 208) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { FILE: crates/monty/src/types/module.rs type Module (line 21) | pub(crate) struct Module { method new (line 36) | pub fn new(name: impl Into) -> Self { method name (line 44) | pub fn name(&self) -> StringId { method attrs (line 49) | pub fn attrs(&self) -> &Dict { method set_attr (line 60) | pub fn set_attr(&mut self, name: impl Into, value: Value, vm... method get_attr (line 70) | pub fn get_attr(&self, attr_value: &Value, vm: &mut VM<'_, '_, impl Re... method has_refs (line 81) | pub fn has_refs(&self) -> bool { method py_dec_ref_ids (line 86) | pub fn py_dec_ref_ids(&mut self, stack: &mut Vec) { method py_getattr (line 95) | pub fn py_getattr( method py_call_attr (line 118) | pub fn py_call_attr( method py_estimate_size (line 149) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 153) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { FILE: crates/monty/src/types/namedtuple.rs type NamedTuple (line 51) | pub(crate) struct NamedTuple { method new (line 75) | pub fn new(name: impl Into, field_names: Vec, it... method name (line 92) | pub fn name<'a>(&'a self, interns: &'a Interns) -> &'a str { method field_names (line 98) | pub fn field_names(&self) -> &[EitherStr] { method as_vec (line 104) | pub fn as_vec(&self) -> &Vec { method len (line 110) | pub fn len(&self) -> usize { method contains_refs (line 119) | pub fn contains_refs(&self) -> bool { method get_by_name (line 131) | pub fn get_by_name(&self, name_str: &str, interns: &Interns) -> Option... method get_by_index (line 143) | pub fn get_by_index(&self, index: i64) -> Option<&Value> { method py_type (line 154) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 158) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_getitem (line 162) | fn py_getitem(&self, key: &Value, vm: &mut VM<'_, '_, impl ResourceTrack... method py_eq (line 176) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>)... method py_bool (line 192) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 196) | fn py_repr_fmt( method py_getattr (line 227) | fn py_getattr(&self, attr: &EitherStr, vm: &mut VM<'_, '_, impl Resource... method py_estimate_size (line 239) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 250) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { FILE: crates/monty/src/types/path.rs type Path (line 33) | pub(crate) struct Path { method new (line 45) | pub fn new(path: String) -> Self { method as_str (line 53) | pub fn as_str(&self) -> &str { method name (line 61) | pub fn name(&self) -> &str { method parent (line 70) | pub fn parent(&self) -> Option<&str> { method stem (line 85) | pub fn stem(&self) -> &str { method suffix (line 98) | pub fn suffix(&self) -> &str { method suffixes (line 111) | pub fn suffixes(&self) -> Vec<&str> { method parts (line 138) | pub fn parts(&self) -> Vec<&str> { method is_absolute (line 158) | pub fn is_absolute(&self) -> bool { method joinpath (line 166) | pub fn joinpath(&self, other: &str) -> String { method with_name (line 180) | pub fn with_name(&self, name: &str) -> Result { method with_stem (line 209) | pub fn with_stem(&self, stem: &str) -> Result { method with_suffix (line 229) | pub fn with_suffix(&self, suffix: &str) -> Result { method as_posix (line 253) | pub fn as_posix(&self) -> &str { method init (line 264) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method getattr_by_static (line 403) | fn getattr_by_static(&self, ss: StaticStrings, heap: &mut Heap( function fold_joinpath (line 311) | fn fold_joinpath( function path_div (line 326) | pub(crate) fn path_div( function normalize_path (line 359) | fn normalize_path(mut path: String) -> String { function prepend_path_arg (line 377) | fn prepend_path_arg(path_arg: Value, args: ArgValues) -> ArgValues { method py_type (line 454) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 458) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 463) | fn py_eq(&self, other: &Self, _vm: &mut VM<'_, '_, impl ResourceTracker>... method py_bool (line 467) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 472) | fn py_repr_fmt( method py_call_attr (line 488) | fn py_call_attr( method py_getattr (line 564) | fn py_getattr(&self, attr: &EitherStr, vm: &mut VM<'_, '_, impl Resource... method py_estimate_size (line 591) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 595) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { FILE: crates/monty/src/types/property.rs type Property (line 20) | pub(crate) enum Property { method get (line 30) | pub fn get(self) -> CallResult { FILE: crates/monty/src/types/py_trait.rs type PyTrait (line 37) | pub trait PyTrait { method py_type (line 42) | fn py_type(&self, heap: &Heap) -> Type; method py_len (line 48) | fn py_len(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> Option; method py_eq (line 60) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker... method py_cmp (line 72) | fn py_cmp( method py_bool (line 83) | fn py_bool(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 99) | fn py_repr_fmt( method py_repr (line 109) | fn py_repr(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> Cow<'stati... method py_str (line 120) | fn py_str(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> Cow<'static... method py_add (line 128) | fn py_add( method py_sub (line 140) | fn py_sub( method py_mod (line 152) | fn py_mod(&self, _other: &Self, _vm: &mut VM<'_, '_, impl ResourceTrac... method py_mod_eq (line 157) | fn py_mod_eq(&self, _other: &Self, _right_value: i64) -> Option { method py_iadd (line 167) | fn py_iadd( method py_mult (line 181) | fn py_mult(&self, _other: &Self, _vm: &mut VM<'_, '_, impl ResourceTra... method py_div (line 189) | fn py_div(&self, _other: &Self, _vm: &mut VM<'_, '_, impl ResourceTrac... method py_floordiv (line 198) | fn py_floordiv(&self, _other: &Self, _vm: &mut VM<'_, '_, impl Resourc... method py_pow (line 207) | fn py_pow(&self, _other: &Self, _vm: &mut VM<'_, '_, impl ResourceTrac... method py_call_attr (line 234) | fn py_call_attr( method py_getitem (line 258) | fn py_getitem(&self, _key: &Value, vm: &mut VM<'_, '_, impl ResourceTr... method py_setitem (line 268) | fn py_setitem(&mut self, key: Value, value: Value, vm: &mut VM<'_, '_,... method py_getattr (line 294) | fn py_getattr( FILE: crates/monty/src/types/range.rs type Range (line 30) | pub(crate) struct Range { method new (line 45) | fn new(start: i64, stop: i64, step: i64) -> Self { method from_stop (line 52) | fn from_stop(stop: i64) -> Self { method from_start_stop (line 62) | fn from_start_stop(start: i64, stop: i64) -> Self { method len (line 68) | pub fn len(&self) -> usize { method is_empty (line 88) | pub fn is_empty(&self) -> bool { method contains (line 97) | pub fn contains(&self, n: i64) -> bool { method init (line 119) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method getitem_slice (line 154) | fn getitem_slice(&self, slice: &crate::types::Slice, heap: &mut Heap Self { method py_type (line 207) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 211) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_getitem (line 215) | fn py_getitem(&self, key: &Value, vm: &mut VM<'_, '_, impl ResourceTrack... method py_eq (line 246) | fn py_eq(&self, other: &Self, _vm: &mut VM<'_, '_, impl ResourceTracker>... method py_bool (line 261) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 265) | fn py_repr_fmt( method py_estimate_size (line 280) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 284) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { FILE: crates/monty/src/types/re_match.rs type ReMatch (line 49) | pub(crate) struct ReMatch { method from_captures (line 80) | pub fn from_captures( method get_group (line 133) | fn get_group(&self, n: i64, heap: &mut Heap) -> ... method get_group_by_name (line 160) | fn get_group_by_name(&self, name: &str, heap: &mut Heap) -> RunResu... method get_start (line 241) | fn get_start(&self, n: i64) -> RunResult { method get_end (line 262) | fn get_end(&self, n: i64) -> RunResult { method get_span (line 283) | fn get_span(&self, n: i64, heap: &mut Heap) -> R... method py_type (line 306) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 310) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 314) | fn py_eq(&self, _other: &Self, _vm: &mut VM<'_, '_, impl ResourceTracker... method py_bool (line 319) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 324) | fn py_repr_fmt( method py_getattr (line 335) | fn py_getattr(&self, attr: &EitherStr, vm: &mut VM<'_, '_, impl Resource... method py_call_attr (line 346) | fn py_call_attr( method py_estimate_size (line 385) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 402) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { function call_group (line 412) | fn call_group( function resolve_group_arg (line 455) | fn resolve_group_arg( function extract_optional_group_arg (line 484) | fn extract_optional_group_arg( function byte_to_char_offset (line 510) | fn byte_to_char_offset(s: &str, byte_offset: usize) -> usize { function group_index (line 522) | fn group_index(n: i64) -> usize { FILE: crates/monty/src/types/re_pattern.rs type RePattern (line 42) | pub(crate) struct RePattern { method compile (line 75) | pub fn compile(pattern: String, flags: u16) -> RunResult { method search (line 91) | pub fn search(&self, text: &str, heap: &mut Heap... method match_start (line 109) | pub fn match_start(&self, text: &str, heap: &mut Heap>(deserializer: D) -> Result) -> Type { method py_len (line 268) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 272) | fn py_eq(&self, other: &Self, _vm: &mut VM<'_, '_, impl ResourceTracker>... method py_bool (line 276) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 281) | fn py_repr_fmt( method py_getattr (line 308) | fn py_getattr(&self, attr: &EitherStr, vm: &mut VM<'_, '_, impl Resource... method py_call_attr (line 320) | fn py_call_attr( method py_estimate_size (line 367) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 371) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { function call_pattern_sub (line 381) | fn call_pattern_sub( function call_pattern_split (line 473) | fn call_pattern_split( function extract_maxsplit (line 532) | fn extract_maxsplit(val: Option, heap: &mut Heap RunResult Cow<'_, str> { function translate_g_backref (line 659) | fn translate_g_backref(chars: &mut std::iter::Peekable( method serialize (line 717) | fn serialize(&self, serializer: S) -> Result Self { method with_capacity (line 47) | fn with_capacity(capacity: usize) -> Self { method from_entries (line 59) | fn from_entries(entries: Vec<(Value, u64)>) -> Self { method clone_entries (line 69) | fn clone_entries(&self, heap: &impl ContainsHeap) -> Vec<(Value, u64)> { method len (line 77) | fn len(&self) -> usize { method is_empty (line 82) | fn is_empty(&self) -> bool { method has_refs (line 90) | fn has_refs(&self) -> bool { method add (line 102) | fn add(&mut self, value: Value, vm: &mut VM<'_, '_, impl ResourceTrack... method remove (line 138) | fn remove(&mut self, value: &Value, vm: &mut VM<'_, '_, impl ResourceT... method discard (line 172) | fn discard(&mut self, value: &Value, vm: &mut VM<'_, '_, impl Resource... method pop (line 180) | fn pop(&mut self) -> RunResult { method clear (line 198) | fn clear(&mut self, heap: &mut Heap) { method clone_with_heap (line 204) | fn clone_with_heap(&self, heap: &impl ContainsHeap) -> Self { method contains (line 219) | pub fn contains(&self, value: &Value, vm: &mut VM<'_, '_, impl Resourc... method iter (line 233) | pub(crate) fn iter(&self) -> impl Iterator { method value_at (line 240) | pub(crate) fn value_at(&self, index: usize) -> Option<&Value> { method collect_dec_ref_ids (line 245) | fn collect_dec_ref_ids(&mut self, stack: &mut Vec) { method eq (line 256) | fn eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>) ... method is_subset (line 273) | fn is_subset(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTra... method is_superset (line 283) | fn is_superset(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceT... method is_disjoint (line 288) | fn is_disjoint(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceT... method union (line 305) | fn union(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker... method intersection (line 316) | fn intersection(&self, other: &Self, vm: &mut VM<'_, '_, impl Resource... method difference (line 336) | fn difference(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTr... method symmetric_difference (line 349) | fn symmetric_difference(&self, other: &Self, vm: &mut VM<'_, '_, impl ... method update (line 373) | fn update(&mut self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTr... method repr_fmt (line 385) | fn repr_fmt( method estimate_size (line 431) | fn estimate_size(&self) -> usize { method serialize (line 1338) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result... type Set (line 447) | pub(crate) struct Set(SetStorage); method new (line 452) | pub fn new() -> Self { method with_capacity (line 458) | pub fn with_capacity(capacity: usize) -> Self { method len (line 464) | pub fn len(&self) -> usize { method is_empty (line 470) | pub fn is_empty(&self) -> bool { method has_refs (line 479) | pub fn has_refs(&self) -> bool { method add (line 486) | pub fn add(&mut self, value: Value, vm: &mut VM<'_, '_, impl ResourceT... method remove (line 493) | pub fn remove(&mut self, value: &Value, vm: &mut VM<'_, '_, impl Resou... method discard (line 504) | pub fn discard(&mut self, value: &Value, vm: &mut VM<'_, '_, impl Reso... method pop (line 511) | pub fn pop(&mut self) -> RunResult { method clear (line 516) | pub fn clear(&mut self, heap: &mut Heap) { method copy (line 522) | pub fn copy(&self, heap: &mut Heap) -> Self { method contains (line 527) | pub fn contains(&self, value: &Value, vm: &mut VM<'_, '_, impl Resourc... method storage (line 532) | pub(crate) fn storage(&self) -> &SetStorage { method iter (line 541) | pub(crate) fn iter(&self) -> impl Iterator { method init (line 549) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method from_iterator (line 563) | fn from_iterator(iter: MontyIter, vm: &mut VM<'_, '_, impl ResourceTra... method from_iterable (line 576) | fn from_iterable(iterable: Value, vm: &mut VM<'_, '_, impl ResourceTra... method binary_op_value (line 761) | pub(crate) fn binary_op_value( method update_from_value (line 782) | fn update_from_value(&mut self, other: Value, vm: &mut VM<'_, '_, impl... method union_from_value (line 810) | fn union_from_value(&self, other: Value, vm: &mut VM<'_, '_, impl Reso... method intersection_from_value (line 818) | fn intersection_from_value(&self, other: Value, vm: &mut VM<'_, '_, im... method difference_from_value (line 826) | fn difference_from_value(&self, other: Value, vm: &mut VM<'_, '_, impl... method symmetric_difference_from_value (line 834) | fn symmetric_difference_from_value( method issubset_from_value (line 846) | fn issubset_from_value(&self, other: &Value, vm: &mut VM<'_, '_, impl ... method issuperset_from_value (line 870) | fn issuperset_from_value(&self, other: &Value, vm: &mut VM<'_, '_, imp... method isdisjoint_from_value (line 894) | fn isdisjoint_from_value(&self, other: &Value, vm: &mut VM<'_, '_, imp... method get_storage_from_value (line 918) | fn get_storage_from_value(value: Value, vm: &mut VM<'_, '_, impl Resou... method serialize (line 1356) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result... method drop_with_heap (line 584) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 590) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 596) | fn drop_with_heap(self, heap: &mut H) { method drop_with_heap (line 602) | fn drop_with_heap(self, heap: &mut H) { method py_type (line 608) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 612) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 616) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>)... method py_bool (line 625) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 629) | fn py_repr_fmt( method py_call_attr (line 638) | fn py_call_attr( method py_sub (line 730) | fn py_sub( type SetBinaryOp (line 745) | pub(crate) enum SetBinaryOp { method py_estimate_size (line 941) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 945) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { type FrozenSet (line 959) | pub(crate) struct FrozenSet(SetStorage); method new (line 964) | pub fn new() -> Self { method len (line 970) | pub fn len(&self) -> usize { method is_empty (line 976) | pub fn is_empty(&self) -> bool { method has_refs (line 985) | pub fn has_refs(&self) -> bool { method copy (line 991) | pub fn copy(&self, heap: &mut Heap) -> Self { method storage (line 996) | pub(crate) fn storage(&self) -> &SetStorage { method contains (line 1001) | pub fn contains(&self, value: &Value, vm: &mut VM<'_, '_, impl Resourc... method compute_hash (line 1009) | pub fn compute_hash( method from_set (line 1031) | pub fn from_set(set: Set) -> Self { method init (line 1039) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method union (line 1050) | pub(crate) fn union(&self, other: &SetStorage, vm: &mut VM<'_, '_, imp... method intersection (line 1055) | pub(crate) fn intersection( method difference (line 1064) | pub(crate) fn difference(&self, other: &SetStorage, vm: &mut VM<'_, '_... method symmetric_difference (line 1069) | pub(crate) fn symmetric_difference( method binary_op_value (line 1208) | pub(crate) fn binary_op_value( method issubset_from_value (line 1229) | fn issubset_from_value(&self, other: &Value, vm: &mut VM<'_, '_, impl ... method issuperset_from_value (line 1254) | fn issuperset_from_value(&self, other: &Value, vm: &mut VM<'_, '_, imp... method isdisjoint_from_value (line 1279) | fn isdisjoint_from_value(&self, other: &Value, vm: &mut VM<'_, '_, imp... method serialize (line 1368) | fn serialize(&self, serializer: S) -> Result>(deserializer: D) -> Result... method py_type (line 1079) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 1083) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 1087) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>)... method py_bool (line 1096) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 1100) | fn py_repr_fmt( method py_call_attr (line 1109) | fn py_call_attr( method py_sub (line 1180) | fn py_sub( method py_estimate_size (line 1191) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 1195) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { function get_storage_from_set_operand (line 1309) | fn get_storage_from_set_operand( FILE: crates/monty/src/types/slice.rs type Slice (line 34) | pub(crate) struct Slice { method new (line 43) | pub fn new(start: Option, stop: Option, step: Option) -... method init (line 55) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method indices (line 101) | pub fn indices(&self, length: usize) -> Result<(usize, usize, i64), ()> { function value_to_option_i64 (line 164) | pub(crate) fn value_to_option_i64(value: &Value) -> RunResult i... method py_type (line 182) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 186) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 191) | fn py_eq(&self, other: &Self, _vm: &mut VM<'_, '_, impl ResourceTracker>... method py_bool (line 195) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 200) | fn py_repr_fmt( method py_getattr (line 215) | fn py_getattr(&self, attr: &EitherStr, vm: &mut VM<'_, '_, impl Resource... method py_estimate_size (line 236) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 240) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { function option_i64_to_value (line 246) | pub(crate) fn option_i64_to_value(opt: Option) -> Value { function format_option_i64 (line 254) | fn format_option_i64(f: &mut impl Write, value: Option) -> std::fmt... FILE: crates/monty/src/types/str.rs type Str (line 29) | pub(crate) struct Str(Box); method new (line 34) | pub fn new(s: String) -> Self { method as_str (line 40) | pub fn as_str(&self) -> &str { method init (line 48) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... method getitem_slice (line 63) | fn getitem_slice(&self, slice: &crate::types::Slice, heap: &mut Heap Self { method from (line 82) | fn from(s: &str) -> Self { type Target (line 198) | type Target = str; method deref (line 200) | fn deref(&self) -> &Self::Target { method from (line 88) | fn from(value: Str) -> Self { function allocate_string (line 102) | pub fn allocate_string(s: String, heap: &mut Heap)... function allocate_char (line 123) | pub fn allocate_char(c: char, heap: &mut Heap) -> ... function get_char_at_index (line 138) | pub fn get_char_at_index(s: &str, index: i64) -> Option { function get_str_slice (line 159) | pub(crate) fn get_str_slice(s: &str, start: usize, stop: usize, step: i6... method py_type (line 206) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 210) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_getitem (line 215) | fn py_getitem(&self, key: &Value, vm: &mut VM<'_, '_, impl ResourceTrack... method py_eq (line 234) | fn py_eq(&self, other: &Self, _vm: &mut VM<'_, '_, impl ResourceTracker>... method py_bool (line 238) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_cmp (line 242) | fn py_cmp( method py_repr_fmt (line 250) | fn py_repr_fmt( method py_str (line 259) | fn py_str(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Cow<'static,... method py_add (line 263) | fn py_add( method py_call_attr (line 273) | fn py_call_attr( method py_estimate_size (line 291) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 295) | fn py_dec_ref_ids(&mut self, _stack: &mut Vec) { function call_str_method (line 304) | pub fn call_str_method( function call_str_method_impl (line 337) | fn call_str_method_impl( function str_join (line 467) | fn str_join(separator: &str, iterable: Value, vm: &mut VM<'_, '_, impl R... function string_repr_fmt (line 516) | pub fn string_repr_fmt(s: &str, f: &mut impl Write) -> fmt::Result { type StringRepr (line 550) | pub struct StringRepr<'a>(pub &'a str); function fmt (line 553) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function str_lower (line 563) | fn str_lower(s: &str, vm: &mut VM<'_, '_, impl ResourceTracker>) -> RunR... function str_upper (line 568) | fn str_upper(s: &str, vm: &mut VM<'_, '_, impl ResourceTracker>) -> RunR... function str_capitalize (line 575) | fn str_capitalize(s: &str, vm: &mut VM<'_, '_, impl ResourceTracker>) ->... function str_title (line 594) | fn str_title(s: &str, vm: &mut VM<'_, '_, impl ResourceTracker>) -> RunR... function str_swapcase (line 613) | fn str_swapcase(s: &str, vm: &mut VM<'_, '_, impl ResourceTracker>) -> R... function str_casefold (line 633) | fn str_casefold(s: &str, vm: &mut VM<'_, '_, impl ResourceTracker>) -> R... function str_isalpha (line 645) | fn str_isalpha(s: &str) -> bool { function str_isdigit (line 654) | fn str_isdigit(s: &str) -> bool { function str_isalnum (line 661) | fn str_isalnum(s: &str) -> bool { function str_isnumeric (line 670) | fn str_isnumeric(s: &str) -> bool { function str_isspace (line 677) | fn str_isspace(s: &str) -> bool { function str_islower (line 684) | fn str_islower(s: &str) -> bool { function str_isupper (line 700) | fn str_isupper(s: &str) -> bool { function str_isdecimal (line 718) | fn str_isdecimal(s: &str) -> bool { function is_unicode_decimal (line 726) | fn is_unicode_decimal(c: char) -> bool { function is_unicode_digit (line 849) | fn is_unicode_digit(c: char) -> bool { function str_find (line 898) | fn str_find(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl ResourceT... function str_rfind (line 916) | fn str_rfind(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resource... function str_index (line 933) | fn str_index(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resource... function str_rindex (line 949) | fn str_rindex(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resourc... function str_count (line 966) | fn str_count(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resource... function str_startswith (line 983) | fn str_startswith(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Res... function str_endswith (line 994) | fn str_endswith(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resou... function parse_search_args (line 1004) | fn parse_search_args( function parse_prefix_suffix_args (line 1039) | fn parse_prefix_suffix_args( function extract_str_or_tuple_of_str (line 1074) | fn extract_str_or_tuple_of_str(value: &Value, vm: &mut VM<'_, '_, impl R... function extract_string_arg (line 1108) | fn extract_string_arg(value: &Value, vm: &mut VM<'_, '_, impl ResourceTr... function extract_int_arg (line 1123) | fn extract_int_arg(value: &Value, vm: &mut VM<'_, '_, impl ResourceTrack... function normalize_index (line 1139) | fn normalize_index(index: i64, len: usize) -> usize { function optional_index (line 1156) | fn optional_index( function slice_string (line 1170) | fn slice_string(s: &str, start: usize, end: usize) -> &str { function str_strip (line 1199) | fn str_strip(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resource... function str_lstrip (line 1211) | fn str_lstrip(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resourc... function str_rstrip (line 1223) | fn str_rstrip(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resourc... function parse_strip_arg (line 1235) | fn parse_strip_arg( function str_removeprefix (line 1256) | fn str_removeprefix(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl R... function str_removesuffix (line 1269) | fn str_removesuffix(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl R... function str_split (line 1285) | fn str_split(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resource... function str_rsplit (line 1330) | fn str_rsplit(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resourc... function parse_split_args (line 1376) | fn parse_split_args( function split_whitespace_n (line 1461) | fn split_whitespace_n(s: &str, maxsplit: usize) -> Vec<&str> { function rsplit_whitespace_n (line 1484) | fn rsplit_whitespace_n(s: &str, maxsplit: usize) -> Vec<&str> { function str_splitlines (line 1511) | fn str_splitlines(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Res... function parse_splitlines_args (line 1564) | fn parse_splitlines_args(args: ArgValues, vm: &mut VM<'_, '_, impl Resou... function value_is_truthy (line 1615) | fn value_is_truthy(v: &Value) -> bool { function str_partition (line 1628) | fn str_partition(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Reso... function str_rpartition (line 1656) | fn str_rpartition(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Res... function str_replace (line 1688) | fn str_replace(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resour... function parse_replace_args (line 1707) | fn parse_replace_args( function str_center (line 1777) | fn str_center(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resourc... function str_ljust (line 1805) | fn str_ljust(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resource... function str_rjust (line 1828) | fn str_rjust(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resource... function parse_justify_args (line 1849) | fn parse_justify_args( function str_zfill (line 1889) | fn str_zfill(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resource... function str_encode (line 1936) | fn str_encode(s: &str, args: ArgValues, vm: &mut VM<'_, '_, impl Resourc... function parse_encode_args (line 1959) | fn parse_encode_args(args: ArgValues, vm: &mut VM<'_, '_, impl ResourceT... function str_isidentifier (line 1984) | fn str_isidentifier(s: &str) -> bool { function is_xid_start (line 2005) | fn is_xid_start(c: char) -> bool { function is_xid_continue (line 2013) | fn is_xid_continue(c: char) -> bool { function str_istitle (line 2022) | fn str_istitle(s: &str) -> bool { FILE: crates/monty/src/types/tuple.rs constant TUPLE_INLINE_CAPACITY (line 25) | const TUPLE_INLINE_CAPACITY: usize = 3; type TupleVec (line 28) | pub(crate) type TupleVec = SmallVec<[Value; TUPLE_INLINE_CAPACITY]>; method from (line 126) | fn from(tuple: Tuple) -> Self { type Tuple (line 61) | pub(crate) struct Tuple { method new (line 80) | fn new(items: TupleVec) -> Self { method as_slice (line 87) | pub fn as_slice(&self) -> &[Value] { method contains_refs (line 96) | pub fn contains_refs(&self) -> bool { method init (line 104) | pub fn init(vm: &mut VM<'_, '_, impl ResourceTracker>, args: ArgValues... function from (line 120) | fn from(tuple: Tuple) -> Self { function allocate_tuple (line 145) | pub fn allocate_tuple( method py_type (line 159) | fn py_type(&self, _heap: &Heap) -> Type { method py_len (line 163) | fn py_len(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_getitem (line 167) | fn py_getitem(&self, key: &Value, vm: &mut VM<'_, '_, impl ResourceTrack... method py_eq (line 199) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>)... method py_cmp (line 222) | fn py_cmp( method py_add (line 249) | fn py_add( method py_call_attr (line 262) | fn py_call_attr( method py_bool (line 279) | fn py_bool(&self, _vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 283) | fn py_repr_fmt( method py_estimate_size (line 294) | fn py_estimate_size(&self) -> usize { method py_dec_ref_ids (line 302) | fn py_dec_ref_ids(&mut self, stack: &mut Vec) { function tuple_index (line 321) | fn tuple_index(tuple: &Tuple, args: ArgValues, vm: &mut VM<'_, '_, impl ... function tuple_count (line 355) | fn tuple_count(tuple: &Tuple, args: ArgValues, vm: &mut VM<'_, '_, impl ... function normalize_tuple_index (line 371) | fn normalize_tuple_index(index: i64, len: usize) -> usize { FILE: crates/monty/src/types/type.rs type Type (line 28) | pub enum Type { method fmt (line 72) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method builtin_name (line 118) | pub const fn builtin_name(self) -> Option<&'static str> { method from_builtin_name (line 148) | pub fn from_builtin_name(name: &str) -> Option { method is_instance_of (line 174) | pub fn is_instance_of(self, other: Self) -> bool { method callable_to_u8 (line 190) | pub fn callable_to_u8(self) -> Option { method callable_from_u8 (line 214) | pub fn callable_from_u8(id: u8) -> Option { method call (line 238) | pub(crate) fn call(self, vm: &mut VM<'_, '_, impl ResourceTracker>, ar... function f64_to_i64_truncate (line 320) | fn f64_to_i64_truncate(value: f64) -> i64 { function parse_f64_from_str (line 343) | fn parse_f64_from_str(value: &str) -> RunResult { function value_error_could_not_convert_string_to_float (line 366) | fn value_error_could_not_convert_string_to_float(value: &str) -> RunError { function parse_int_from_str (line 378) | fn parse_int_from_str(value: &str, heap: &mut Heap... function value_error_invalid_literal_for_int (line 406) | fn value_error_invalid_literal_for_int(value: &str) -> RunError { function call_type_method (line 418) | pub(crate) fn call_type_method( FILE: crates/monty/src/value.rs type Value (line 46) | pub(crate) enum Value { method from (line 116) | fn from(v: bool) -> Self { method id (line 1349) | pub fn id(&self) -> usize { method ref_id (line 1389) | pub fn ref_id(&self) -> Option { method module_name (line 1399) | pub fn module_name(&self, heap: &Heap, interns: ... method is (line 1412) | pub fn is(&self, other: &Self) -> bool { method py_hash (line 1428) | pub fn py_hash( method py_contains (line 1499) | pub fn py_contains(&self, item: &Self, vm: &mut VM<'_, '_, impl Resour... method py_getattr (line 1610) | pub fn py_getattr(&self, attr: &EitherStr, vm: &mut VM<'_, '_, impl Re... method py_set_attr (line 1645) | pub fn py_set_attr( method as_int (line 1695) | pub fn as_int(&self, heap: &Heap) -> RunResult, container_ty... method py_bitwise (line 1747) | pub fn py_bitwise( method clone_with_heap (line 1832) | pub fn clone_with_heap(&self, heap: &impl ContainsHeap) -> Self { method drop_with_heap (line 1859) | pub fn drop_with_heap(self, heap: &mut impl ContainsHeap) { method drop_with_heap (line 1868) | pub fn drop_with_heap(mut self, heap: &mut impl ContainsHeap) { method clone_immediate (line 1880) | pub fn clone_immediate(&self) -> Self { method dec_ref_forget (line 1908) | pub fn dec_ref_forget(&mut self) { method py_dec_ref_ids (line 1918) | pub fn py_dec_ref_ids(&mut self, stack: &mut Vec) { method as_either_str (line 1930) | pub fn as_either_str(&self, heap: &Heap) -> Opti... method is_str (line 1942) | pub fn is_str(&self, heap: &Heap) -> bool { method drop (line 108) | fn drop(&mut self) { method py_type (line 122) | fn py_type(&self, heap: &Heap) -> Type { method py_len (line 144) | fn py_len(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> Option { method py_eq (line 154) | fn py_eq(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>)... method py_cmp (line 247) | fn py_cmp( method py_bool (line 315) | fn py_bool(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> bool { method py_repr_fmt (line 338) | fn py_repr_fmt( method py_str (line 394) | fn py_str(&self, vm: &VM<'_, '_, impl ResourceTracker>) -> Cow<'static, ... method py_add (line 402) | fn py_add( method py_sub (line 491) | fn py_sub( method py_mod (line 538) | fn py_mod(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>... method py_mod_eq (line 609) | fn py_mod_eq(&self, other: &Self, right_value: i64) -> Option { method py_iadd (line 628) | fn py_iadd( method py_mult (line 695) | fn py_mult(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker... method py_div (line 788) | fn py_div(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>... method py_floordiv (line 937) | fn py_floordiv(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTra... method py_pow (line 1057) | fn py_pow(&self, other: &Self, vm: &mut VM<'_, '_, impl ResourceTracker>... method py_getitem (line 1265) | fn py_getitem(&self, key: &Self, vm: &mut VM<'_, '_, impl ResourceTracke... method py_setitem (line 1326) | fn py_setitem(&mut self, key: Self, value: Self, vm: &mut VM<'_, '_, imp... type EitherStr (line 1956) | pub(crate) enum EitherStr { method from (line 1964) | fn from(id: StringId) -> Self { method from (line 1970) | fn from(s: StaticStrings) -> Self { method from (line 1978) | fn from(s: String) -> Self { method as_str (line 1988) | pub fn as_str<'a>(&'a self, interns: &'a Interns) -> &'a str { method matches (line 1996) | pub fn matches(&self, target: StringId, interns: &Interns) -> bool { method string_id (line 2005) | pub fn string_id(&self) -> Option { method static_string (line 2014) | pub fn static_string(&self) -> Option { method into_string (line 2025) | pub fn into_string(self, interns: &Interns) -> String { method py_estimate_size (line 2032) | pub fn py_estimate_size(&self) -> usize { type BitwiseOp (line 2042) | pub enum BitwiseOp { method as_str (line 2052) | pub fn as_str(self) -> &'static str { type Marker (line 2073) | pub(crate) struct Marker(pub StaticStrings); method py_type (line 2081) | pub(crate) fn py_type(self) -> Type { method py_repr_fmt (line 2094) | fn py_repr_fmt(self, f: &mut impl Write) -> fmt::Result { constant SINGLETON_ID_TAG (line 2107) | const SINGLETON_ID_TAG: usize = 1usize << (usize::BITS - 1); constant INTERN_STR_ID_TAG (line 2109) | const INTERN_STR_ID_TAG: usize = 1usize << (usize::BITS - 2); constant INTERN_BYTES_ID_TAG (line 2111) | const INTERN_BYTES_ID_TAG: usize = 1usize << (usize::BITS - 3); constant HEAP_ID_TAG (line 2113) | const HEAP_ID_TAG: usize = 1usize << (usize::BITS - 4); constant INTERN_BYTES_ID_MASK (line 2116) | const INTERN_BYTES_ID_MASK: usize = INTERN_BYTES_ID_TAG - 1; constant INTERN_STR_ID_MASK (line 2118) | const INTERN_STR_ID_MASK: usize = INTERN_STR_ID_TAG - 1; constant SINGLETON_ID_MASK (line 2120) | const SINGLETON_ID_MASK: usize = SINGLETON_ID_TAG - 1; constant HEAP_ID_MASK (line 2122) | const HEAP_ID_MASK: usize = HEAP_ID_TAG - 1; constant INT_ID_TAG (line 2125) | const INT_ID_TAG: usize = 1usize << (usize::BITS - 5); constant FLOAT_ID_TAG (line 2127) | const FLOAT_ID_TAG: usize = 1usize << (usize::BITS - 6); constant BUILTIN_ID_TAG (line 2129) | const BUILTIN_ID_TAG: usize = 1usize << (usize::BITS - 7); constant FUNCTION_ID_TAG (line 2131) | const FUNCTION_ID_TAG: usize = 1usize << (usize::BITS - 8); constant EXTFUNCTION_ID_TAG (line 2133) | const EXTFUNCTION_ID_TAG: usize = 1usize << (usize::BITS - 9); constant MARKER_ID_TAG (line 2135) | const MARKER_ID_TAG: usize = 1usize << (usize::BITS - 10); constant EXTERNAL_FUTURE_ID_TAG (line 2137) | const EXTERNAL_FUTURE_ID_TAG: usize = 1usize << (usize::BITS - 11); constant MODULE_FUNCTION_ID_TAG (line 2139) | const MODULE_FUNCTION_ID_TAG: usize = 1usize << (usize::BITS - 12); constant INTERN_LONG_INT_ID_TAG (line 2141) | const INTERN_LONG_INT_ID_TAG: usize = 1usize << (usize::BITS - 13); constant PROPERTY_ID_TAG (line 2143) | const PROPERTY_ID_TAG: usize = 1usize << (usize::BITS - 14); constant INT_ID_MASK (line 2146) | const INT_ID_MASK: usize = INT_ID_TAG - 1; constant FLOAT_ID_MASK (line 2147) | const FLOAT_ID_MASK: usize = FLOAT_ID_TAG - 1; constant BUILTIN_ID_MASK (line 2148) | const BUILTIN_ID_MASK: usize = BUILTIN_ID_TAG - 1; constant FUNCTION_ID_MASK (line 2149) | const FUNCTION_ID_MASK: usize = FUNCTION_ID_TAG - 1; constant EXTFUNCTION_ID_MASK (line 2150) | const EXTFUNCTION_ID_MASK: usize = EXTFUNCTION_ID_TAG - 1; constant MARKER_ID_MASK (line 2151) | const MARKER_ID_MASK: usize = MARKER_ID_TAG - 1; constant EXTERNAL_FUTURE_ID_MASK (line 2152) | const EXTERNAL_FUTURE_ID_MASK: usize = EXTERNAL_FUTURE_ID_TAG - 1; constant MODULE_FUNCTION_ID_MASK (line 2153) | const MODULE_FUNCTION_ID_MASK: usize = MODULE_FUNCTION_ID_TAG - 1; constant INTERN_LONG_INT_ID_MASK (line 2154) | const INTERN_LONG_INT_ID_MASK: usize = INTERN_LONG_INT_ID_TAG - 1; constant PROPERTY_ID_MASK (line 2155) | const PROPERTY_ID_MASK: usize = PROPERTY_ID_TAG - 1; type SingletonSlot (line 2160) | enum SingletonSlot { function singleton_id (line 2170) | const fn singleton_id(slot: SingletonSlot) -> usize { function floor_divmod (line 2181) | pub(crate) fn floor_divmod(a: i64, b: i64) -> Option<(i64, i64)> { function heap_tagged_id (line 2194) | pub fn heap_tagged_id(heap_id: HeapId) -> usize { function int_value_id (line 2201) | fn int_value_id(value: i64) -> usize { function float_value_id (line 2214) | fn float_value_id(value: f64) -> usize { function builtin_value_id (line 2226) | fn builtin_value_id(b: Builtins) -> usize { function function_value_id (line 2238) | fn function_value_id(f_id: FunctionId) -> usize { function ext_function_value_id (line 2244) | fn ext_function_value_id(name_id: StringId) -> usize { function marker_value_id (line 2250) | fn marker_value_id(m: Marker) -> usize { function property_value_id (line 2256) | fn property_value_id(p: Property) -> usize { function external_future_value_id (line 2265) | fn external_future_value_id(call_id: CallId) -> usize { function module_function_value_id (line 2271) | fn module_function_value_id(mf: ModuleFunctions) -> usize { function i64_to_repeat_count (line 2286) | fn i64_to_repeat_count(n: i64) -> RunResult { function longint_to_repeat_count (line 2299) | fn longint_to_repeat_count(li: &LongInt) -> RunResult { function extract_bigint (line 2313) | fn extract_bigint(value: &Value, heap: &Heap) -> O... function cloned_items_view_candidate (line 2333) | fn cloned_items_view_candidate(item: &Value, heap: &impl ContainsHeap) -... function str_contains (line 2363) | fn str_contains( function i64_bits (line 2389) | fn i64_bits(value: i64) -> u64 { function bigint_pow (line 2402) | fn bigint_pow(base: BigInt, exp: u64) -> BigInt { function create_heap_with_longint (line 2437) | fn create_heap_with_longint(value: BigInt) -> (Heap, Hea... function as_index_longint_fits_in_i64 (line 2450) | fn as_index_longint_fits_in_i64() { function as_index_longint_negative_fits_in_i64 (line 2461) | fn as_index_longint_negative_fits_in_i64() { function as_index_longint_too_large (line 2472) | fn as_index_longint_too_large() { function as_int_longint_fits_in_i64 (line 2487) | fn as_int_longint_fits_in_i64() { function as_int_longint_too_large (line 2498) | fn as_int_longint_too_large() { function as_index_longint_at_i64_max (line 2510) | fn as_index_longint_at_i64_max() { function as_index_longint_at_i64_min (line 2521) | fn as_index_longint_at_i64_min() { function as_index_longint_just_over_i64_max (line 2532) | fn as_index_longint_just_over_i64_max() { function as_index_longint_just_under_i64_min (line 2544) | fn as_index_longint_just_under_i64_min() { FILE: crates/monty/test_cases/async__asyncio_run.py function simple (line 5) | async def simple(): function add (line 14) | async def add(a, b): function inner (line 23) | async def inner(): function outer (line 27) | async def outer(): function double (line 37) | async def double(x): function run_gather (line 41) | async def run_gather(): FILE: crates/monty/test_cases/async__basic.py function foo (line 5) | async def foo(): FILE: crates/monty/test_cases/async__closure.py function make_adder (line 5) | def make_adder(n): FILE: crates/monty/test_cases/async__double_await_coroutine.py function foo (line 2) | async def foo(): FILE: crates/monty/test_cases/async__exception.py function raises_error (line 5) | async def raises_error(): FILE: crates/monty/test_cases/async__ext_call.py function add (line 34) | async def add(a, b): function multiply (line 38) | async def multiply(a, b): function double_external (line 56) | async def double_external(x): function triple_add (line 66) | async def triple_add(a, b, c): FILE: crates/monty/test_cases/async__gather_all.py function task1 (line 6) | async def task1(): function task2 (line 10) | async def task2(): function slow (line 20) | async def slow(): function fast (line 24) | async def fast(): function single (line 37) | async def single(): function a (line 57) | async def a(): function b (line 61) | async def b(): function c (line 65) | async def c(): FILE: crates/monty/test_cases/async__nested_await.py function inner (line 5) | async def inner(): function outer (line 9) | async def outer(): FILE: crates/monty/test_cases/async__nested_gather_ext.py function process_item (line 8) | async def process_item(n): function fetch_pair (line 27) | async def fetch_pair(key): function fetch_all (line 32) | async def fetch_all(keys): FILE: crates/monty/test_cases/async__not_imported.py function foo (line 2) | async def foo(): FILE: crates/monty/test_cases/async__recursion_depth_isolation.py function recurse_then_call (line 12) | async def recurse_then_call(n): FILE: crates/monty/test_cases/async__return_types.py function return_int (line 5) | async def return_int(): function return_str (line 9) | async def return_str(): function return_list (line 13) | async def return_list(): function return_none (line 17) | async def return_none(): FILE: crates/monty/test_cases/async__sequential.py function get_value (line 5) | async def get_value(x): FILE: crates/monty/test_cases/async__traceback.py function raises_error (line 5) | async def raises_error(): FILE: crates/monty/test_cases/async__with_args.py function add (line 5) | async def add(a, b): FILE: crates/monty/test_cases/bench__kitchen_sink.py function add (line 30) | def add(x, y): FILE: crates/monty/test_cases/builtin__filter.py function is_positive (line 48) | def is_positive(x): FILE: crates/monty/test_cases/builtin__map.py function f (line 49) | def f(x): function raise_exception (line 56) | def raise_exception(x): FILE: crates/monty/test_cases/builtin__more_iter_funcs.py function negate (line 296) | def negate(x): FILE: crates/monty/test_cases/chain_comparison__all.py function test_short_circuit (line 25) | def test_short_circuit(): function test_single_eval (line 50) | def test_single_eval(): FILE: crates/monty/test_cases/closure__param_shadows_outer.py function outer_basic (line 2) | def outer_basic(): function outer_multi (line 15) | def outer_multi(): function outer_mixed (line 29) | def outer_mixed(): function outer_default (line 43) | def outer_default(): function outer_deep (line 56) | def outer_deep(): function outer_expr (line 72) | def outer_expr(): FILE: crates/monty/test_cases/closure__pep448.py function outer_dict (line 9) | def outer_dict(): function outer_list (line 23) | def outer_list(): function outer_tuple (line 37) | def outer_tuple(): function outer_set (line 51) | def outer_set(): function outer_call_star (line 64) | def outer_call_star(): function outer_multi (line 81) | def outer_multi(): function outer_kwargs_call (line 103) | def outer_kwargs_call(): function outer_argsstar (line 124) | def outer_argsstar(): function outer_kwargsstar (line 144) | def outer_kwargsstar(): function outer_generalized_named (line 164) | def outer_generalized_named(): function outer_generalized_mixed (line 187) | def outer_generalized_mixed(): FILE: crates/monty/test_cases/closure__undefined_nonlocal.py function outer (line 2) | def outer(): FILE: crates/monty/test_cases/comprehension__all.py function outer_capture_same_name (line 53) | def outer_capture_same_name(): function outer_nested_comp (line 85) | def outer_nested_comp(): function outer_unpack (line 140) | def outer_unpack(): function outer_shadow_unpack (line 153) | def outer_shadow_unpack(): FILE: crates/monty/test_cases/dict__ops.py function key (line 42) | def key(): function apply_captured_increment (line 57) | def apply_captured_increment(): FILE: crates/monty/test_cases/ext_call__arg_side_effect_bug.py function side_effect (line 11) | def side_effect(val): FILE: crates/monty/test_cases/ext_call__boolean_side_effect_hang.py function side_effect (line 8) | def side_effect(val): FILE: crates/monty/test_cases/ext_call__closure_bug.py function make_adder (line 7) | def make_adder(x): FILE: crates/monty/test_cases/ext_call__deep_call_stack.py function depth1 (line 7) | def depth1(n): function depth2 (line 11) | def depth2(n): FILE: crates/monty/test_cases/ext_call__elif.py function counting_add (line 90) | def counting_add(a, b): FILE: crates/monty/test_cases/ext_call__exc_deep_stack.py function level4 (line 2) | def level4(): function level3 (line 7) | def level3(): function level2 (line 11) | def level2(): function level1 (line 15) | def level1(): FILE: crates/monty/test_cases/ext_call__exc_in_function.py function wrapper (line 2) | def wrapper(): FILE: crates/monty/test_cases/ext_call__exc_nested_functions.py function inner (line 2) | def inner(): function middle (line 6) | def middle(): function outer (line 10) | def outer(): FILE: crates/monty/test_cases/ext_call__if_condition.py function check_positive (line 5) | def check_positive(): function check_with_else (line 15) | def check_with_else(): function check_elif (line 26) | def check_elif(): FILE: crates/monty/test_cases/ext_call__in_closure.py function outer_with_nested (line 5) | def outer_with_nested(): FILE: crates/monty/test_cases/ext_call__in_function.py function add_wrapper (line 5) | def add_wrapper(a, b): function multi_ext (line 14) | def multi_ext(): function with_locals (line 24) | def with_locals(): function get_sum (line 35) | def get_sum(a, b, c): FILE: crates/monty/test_cases/ext_call__in_function_simple.py function foo (line 2) | def foo(): FILE: crates/monty/test_cases/ext_call__multi_in_func.py function compute_sum (line 5) | def compute_sum(): function compute_nested (line 16) | def compute_nested(): function outer (line 24) | def outer(): FILE: crates/monty/test_cases/ext_call__name_lookup.py function use_constant (line 65) | def use_constant(): FILE: crates/monty/test_cases/ext_call__recursion_bug.py function sum_with_ext (line 6) | def sum_with_ext(n): FILE: crates/monty/test_cases/ext_call__return.py function direct_return (line 5) | def direct_return(): function return_with_expression (line 13) | def return_with_expression(): function conditional_return (line 21) | def conditional_return(): FILE: crates/monty/test_cases/ext_call__side_effects.py function log (line 2) | def log(msg): function inner (line 7) | def inner(x): function outer (line 14) | def outer(): FILE: crates/monty/test_cases/fstring__all.py function greet (line 152) | def greet(name): function format_num (line 160) | def format_num(n, w): FILE: crates/monty/test_cases/function__call_duplicate_kwargs.py function f (line 1) | def f(**kwargs): FILE: crates/monty/test_cases/function__call_unpack.py function f (line 1) | def f(*args, **kwargs): FILE: crates/monty/test_cases/function__defaults.py function f_basic (line 4) | def f_basic(a, b=10): function f_multi (line 14) | def f_multi(a=1, b=2): function f_mixed (line 24) | def f_mixed(a, b, c=3, d=4): function f_kw (line 34) | def f_kw(a, b=10): function value_maker (line 45) | def value_maker(): function f_eval (line 49) | def f_eval(x=value_maker()): function f_mutable (line 59) | def f_mutable(lst=[]): function f_sep1 (line 72) | def f_sep1(x=[]): function f_sep2 (line 77) | def f_sep2(x=[]): function make_adder (line 93) | def make_adder(n): function kwonly_mix (line 112) | def kwonly_mix(*, head=1, mid, tail=3): FILE: crates/monty/test_cases/function__err_duplicate_arg.py function f (line 2) | def f(a, b, c): FILE: crates/monty/test_cases/function__err_duplicate_first_arg.py function f (line 2) | def f(a, b): FILE: crates/monty/test_cases/function__err_duplicate_kwarg_cleanup.py function f (line 2) | def f(a, b): FILE: crates/monty/test_cases/function__err_kwonly_as_positional.py function f (line 2) | def f(*, a, b): FILE: crates/monty/test_cases/function__err_missing_all_posonly.py function f (line 2) | def f(a, b, /): FILE: crates/monty/test_cases/function__err_missing_heap_cleanup.py function f (line 2) | def f(a, b, c): FILE: crates/monty/test_cases/function__err_missing_kwonly.py function f (line 2) | def f(a, *, b): FILE: crates/monty/test_cases/function__err_missing_posonly_with_kwarg.py function f (line 2) | def f(a, /, b): FILE: crates/monty/test_cases/function__err_missing_with_posonly.py function f (line 2) | def f(a, b, /, c): FILE: crates/monty/test_cases/function__err_posonly_as_kwarg.py function f (line 2) | def f(a, b, /, c): FILE: crates/monty/test_cases/function__err_posonly_first_as_kwarg.py function f (line 2) | def f(a, /, b): FILE: crates/monty/test_cases/function__err_too_many_posonly.py function f (line 2) | def f(a, b, /): FILE: crates/monty/test_cases/function__err_too_many_with_kwonly.py function f (line 2) | def f(a, *, b): FILE: crates/monty/test_cases/function__err_unexpected_kwarg.py function f (line 2) | def f(a, b): FILE: crates/monty/test_cases/function__err_unexpected_kwarg_cleanup.py function f (line 2) | def f(a, b): FILE: crates/monty/test_cases/function__err_unexpected_kwarg_quote.py function f (line 1) | def f(a): FILE: crates/monty/test_cases/function__err_unexpected_kwarg_simple.py function f (line 2) | def f(a): FILE: crates/monty/test_cases/function__err_unpack_duplicate_arg.py function f (line 1) | def f(a, b): FILE: crates/monty/test_cases/function__err_unpack_duplicate_heap.py function f (line 2) | def f(a, b): FILE: crates/monty/test_cases/function__err_unpack_int.py function f (line 1) | def f(a, b): FILE: crates/monty/test_cases/function__err_unpack_nonstring_key.py function foo (line 1) | def foo(a): FILE: crates/monty/test_cases/function__err_unpack_not_mapping.py function f (line 1) | def f(a, b): FILE: crates/monty/test_cases/function__kwargs_unpacking.py function greet (line 2) | def greet(name, greeting): function format_msg (line 14) | def format_msg(msg, prefix, suffix): function add_all (line 25) | def add_all(a, b, c): function kwonly_func (line 38) | def kwonly_func(a, *, b, c): function simple (line 46) | def simple(x, y): function all_kwargs (line 54) | def all_kwargs(a, b, c): function kwonly_echo (line 63) | def kwonly_echo(*, keyword): function no_args (line 77) | def no_args(): function one_arg (line 86) | def one_arg(x): function two_args (line 95) | def two_args(a, b): function many_args (line 104) | def many_args(a, b, c, d): function list_arg (line 118) | def list_arg(lst): function mixed_func (line 132) | def mixed_func(a, b, c): function full_func (line 155) | def full_func(a, b, c, d): function heap_func (line 163) | def heap_func(lst, dct): FILE: crates/monty/test_cases/function__ops.py function f_no_args (line 2) | def f_no_args(): function f_one_arg (line 9) | def f_one_arg(x): function add (line 16) | def add(a, b): function sum3 (line 23) | def sum3(a, b, c): function f_local (line 31) | def f_local(): function f_local_from_arg (line 39) | def f_local_from_arg(x): function f_local_list (line 47) | def f_local_list(): function f_local_modify_list (line 55) | def f_local_modify_list(): function f_local_multiple (line 64) | def f_local_multiple(): function f_local_reassign (line 74) | def f_local_reassign(): function nested_basic (line 85) | def nested_basic(): function nested_deep (line 95) | def nested_deep(): function nested_multiple_calls (line 108) | def nested_multiple_calls(): function nested_two_inner (line 118) | def nested_two_inner(): function nested_with_args (line 131) | def nested_with_args(x): function eq_test (line 142) | def eq_test(): function eq_test2 (line 146) | def eq_test2(): function make_adder (line 199) | def make_adder(n): function cross_test (line 224) | def cross_test(): function shadow_single (line 247) | def shadow_single(x): function shadow_multiple (line 257) | def shadow_multiple(x, y): function shadow_uses_global_too (line 265) | def shadow_uses_global_too(x): function shadow_with_default (line 274) | def shadow_with_default(x=99): function double (line 290) | def double(x): FILE: crates/monty/test_cases/function__return_none.py function early_exit (line 5) | def early_exit(): function conditional_early_exit (line 12) | def conditional_early_exit(x): function multiple_bare_returns (line 22) | def multiple_bare_returns(x): function nested_bare_return (line 35) | def nested_bare_return(): FILE: crates/monty/test_cases/function__signatures.py function simple (line 2) | def simple(a, b, c): function pos_only (line 11) | def pos_only(a, b, /, c): function all_pos_only (line 21) | def all_pos_only(a, b, c, /): function multi_group (line 29) | def multi_group(a, /, b, c): function collect_all (line 39) | def collect_all(*values): FILE: crates/monty/test_cases/function__too_few_args_all.py function f (line 1) | def f(a, b, c): FILE: crates/monty/test_cases/function__too_few_args_one.py function f (line 1) | def f(x): FILE: crates/monty/test_cases/function__too_few_args_two.py function f (line 1) | def f(a, b): FILE: crates/monty/test_cases/function__too_many_args_one.py function f (line 1) | def f(x): FILE: crates/monty/test_cases/function__too_many_args_two.py function f (line 1) | def f(a, b): FILE: crates/monty/test_cases/function__too_many_args_zero.py function f (line 1) | def f(): FILE: crates/monty/test_cases/global__error_assigned_before.py function f (line 1) | def f(): FILE: crates/monty/test_cases/global__ops.py function read_explicit (line 5) | def read_explicit(): function write_explicit (line 16) | def write_explicit(): function read_implicit (line 28) | def read_implicit(): function inc (line 39) | def inc(): function get_counter (line 44) | def get_counter(): function add_dict_entry (line 57) | def add_dict_entry(): function append_list_item (line 68) | def append_list_item(): function insert_list_item (line 79) | def insert_list_item(): function build_list (line 90) | def build_list(): function replace_list (line 104) | def replace_list(): function outer_global (line 117) | def outer_global(): function outer_read (line 132) | def outer_read(): function shadow_local (line 146) | def shadow_local(): function shadow_unchanged (line 157) | def shadow_unchanged(): FILE: crates/monty/test_cases/hash__ops.py function f (line 70) | def f(): function g (line 74) | def g(): function key_fn (line 130) | def key_fn(): FILE: crates/monty/test_cases/if__elif_else.py function set_called (line 127) | def set_called(): FILE: crates/monty/test_cases/if__raise_in_elif_condition.py function fail (line 1) | def fail(): FILE: crates/monty/test_cases/if__raise_in_if_condition.py function fail (line 1) | def fail(): FILE: crates/monty/test_cases/import__local_scope.py function test_import_local (line 4) | def test_import_local(): function test_from_import_local (line 23) | def test_from_import_local(): function test_aliased_import_local (line 41) | def test_aliased_import_local(): function use_global_import (line 63) | def use_global_import(): FILE: crates/monty/test_cases/import__type_checking_guard.py function get_type_checking_value (line 15) | def get_type_checking_value(): FILE: crates/monty/test_cases/lambda__all.py function make_adder (line 55) | def make_adder(n): function make_multiplier (line 65) | def make_multiplier(factor): function make_shadowing_lambda (line 127) | def make_shadowing_lambda(): function test_inner_lambda_capture (line 138) | def test_inner_lambda_capture(): FILE: crates/monty/test_cases/list__ops.py function last_char (line 306) | def last_char(s): function _make_list_unpack_closure (line 459) | def _make_list_unpack_closure(): FILE: crates/monty/test_cases/loop__break_continue.py function double_break (line 109) | def double_break(value): function two_breaks (line 121) | def two_breaks(items): function double_continue (line 142) | def double_continue(items): FILE: crates/monty/test_cases/loop__break_in_function_error.py function foo (line 1) | def foo(): FILE: crates/monty/test_cases/loop__break_nested_except_clears.py function test_break (line 5) | def test_break(): function test_break_depth3 (line 21) | def test_break_depth3(): function test_empty_stack (line 40) | def test_empty_stack(): FILE: crates/monty/test_cases/loop__continue_in_function_error.py function foo (line 1) | def foo(): FILE: crates/monty/test_cases/loop__continue_nested_except_clears.py function test_continue (line 5) | def test_continue(): function test_continue_depth3 (line 23) | def test_continue_depth3(): function test_continue_with_else (line 44) | def test_continue_with_else(): FILE: crates/monty/test_cases/name_error__unbound_local_func.py function foo (line 3) | def foo(): FILE: crates/monty/test_cases/name_error__undefined_call_in_function.py function outer (line 1) | def outer(): FILE: crates/monty/test_cases/nonlocal__ops.py function read_outer (line 2) | def read_outer(): function write_outer (line 14) | def write_outer(): function make_counter (line 29) | def make_counter(): function implicit_capture (line 47) | def implicit_capture(): function pass_through (line 61) | def pass_through(): function deep_nesting (line 84) | def deep_nesting(): function deep_pass_through (line 105) | def deep_pass_through(): function multiple_cells (line 133) | def multiple_cells(): function shared_cell (line 167) | def shared_cell(): function shared_multiple_vars (line 189) | def shared_multiple_vars(): function local_and_captured (line 229) | def local_and_captured(): function global_and_nonlocal (line 251) | def global_and_nonlocal(): function make_closure_global (line 271) | def make_closure_global(): function outer_factory (line 293) | def outer_factory(): function augmented_assign (line 322) | def augmented_assign(): function cell_contains_closure (line 337) | def cell_contains_closure(): FILE: crates/monty/test_cases/recursion__function_depth.py function recurse (line 5) | def recurse(n): FILE: crates/monty/test_cases/refcount__gather_cleanup.py function task1 (line 6) | async def task1(): function task2 (line 10) | async def task2(): FILE: crates/monty/test_cases/refcount__gather_exception.py function task_ok (line 6) | async def task_ok(): function task_fail (line 10) | async def task_fail(): FILE: crates/monty/test_cases/refcount__gather_nested_cancel.py function inner_task (line 7) | async def inner_task(): function task_with_inner_gather (line 11) | async def task_with_inner_gather(): function task_fail (line 17) | async def task_fail(): FILE: crates/monty/test_cases/refcount__kwargs_unpacking.py function receive_kwargs (line 4) | def receive_kwargs(a, b, c): FILE: crates/monty/test_cases/refcount__min_max_key_error_paths.py function raising_key (line 8) | def raising_key(value): FILE: crates/monty/test_cases/set__ops.py function _make_set_unpack_closure (line 177) | def _make_set_unpack_closure(): FILE: crates/monty/test_cases/traceback__division_error.py function foo (line 1) | def foo(): function bar (line 5) | def bar(): function baz (line 9) | def baz(): FILE: crates/monty/test_cases/traceback__index_error.py function foo (line 1) | def foo(): FILE: crates/monty/test_cases/traceback__nested_call.py function foo (line 1) | def foo(): function bar (line 5) | def bar(): function baz (line 9) | def baz(): FILE: crates/monty/test_cases/traceback__nonlocal_unbound.py function outer (line 1) | def outer(): FILE: crates/monty/test_cases/traceback__recursion_error.py function recurse (line 1) | def recurse(): FILE: crates/monty/test_cases/traceback__undefined_attr_call.py function foo (line 1) | def foo(): FILE: crates/monty/test_cases/traceback__undefined_call.py function foo (line 1) | def foo(): FILE: crates/monty/test_cases/traceback__undefined_raise.py function foo (line 1) | def foo(): FILE: crates/monty/test_cases/try_except__all.py function try_return_finally (line 118) | def try_return_finally(): function finally_return_overrides (line 129) | def finally_return_overrides(): function finally_return_overrides_handler_exc (line 151) | def finally_return_overrides_handler_exc(): function finally_return_overrides_handler_exc2 (line 163) | def finally_return_overrides_handler_exc2(): function finally_return_overrides_else_exc (line 179) | def finally_return_overrides_else_exc(): FILE: crates/monty/test_cases/unpack__ops.py function returns_pair (line 19) | def returns_pair(): function returns_triple (line 28) | def returns_triple(): FILE: crates/monty/test_cases/walrus__all.py function identity (line 92) | def identity(x): function set_global (line 136) | def set_global(): function func_scope (line 147) | def func_scope(): FILE: crates/monty/test_cases/while__all.py function check (line 135) | def check(n): FILE: crates/monty/tests/asyncio.rs function create_gather_two_runner (line 15) | fn create_gather_two_runner() -> MontyRun { function create_gather_three_runner (line 29) | fn create_gather_three_runner() -> MontyRun { function resolve_name_lookups (line 43) | fn resolve_name_lookups( function drive_to_resolve_futures (line 60) | fn drive_to_resolve_futures(mut progress: Run... function resume_with_all_call_ids (line 94) | fn resume_with_all_call_ids() { function resume_with_partial_results (line 115) | fn resume_with_partial_results() { function resume_with_unknown_call_id (line 139) | fn resume_with_unknown_call_id() { function resume_with_empty_results (line 162) | fn resume_with_empty_results() { function resume_with_error_result (line 188) | fn resume_with_error_result() { function resume_with_reversed_order (line 215) | fn resume_with_reversed_order() { function three_way_gather_incremental (line 235) | fn three_way_gather_incremental() { function resume_with_duplicate_call_id (line 261) | fn resume_with_duplicate_call_id() { function gather_error_propagated_as_exception (line 282) | fn gather_error_propagated_as_exception() { function create_sequential_awaits_runner (line 311) | fn create_sequential_awaits_runner() -> MontyRun { function sequential_awaits_second_fails (line 326) | fn sequential_awaits_second_fails() { function sequential_awaits_first_fails (line 375) | fn sequential_awaits_first_fails() { function gather_first_external_fails_immediately (line 409) | fn gather_first_external_fails_immediately() { function gather_second_external_fails (line 434) | fn gather_second_external_fails() { function gather_both_fail (line 460) | fn gather_both_fail() { function three_way_gather_partial_error (line 487) | fn three_way_gather_partial_error() { function incremental_resolution_error_on_second_round (line 515) | fn incremental_resolution_error_on_second_round() { function gather_three_all_at_once_mixed (line 545) | fn gather_three_all_at_once_mixed() { function drive_collecting_calls (line 580) | fn drive_collecting_calls( function nested_gather_with_spawned_tasks_and_external_futures (line 623) | fn nested_gather_with_spawned_tasks_and_external_futures() { function nested_gather_incremental_resolution (line 697) | fn nested_gather_incremental_resolution() { FILE: crates/monty/tests/binary_serde.rs function resolve_name_lookups (line 10) | fn resolve_name_lookups( function monty_run_dump_load_simple (line 26) | fn monty_run_dump_load_simple() { function monty_run_dump_load_with_inputs (line 37) | fn monty_run_dump_load_with_inputs() { function monty_run_dump_load_preserves_code (line 50) | fn monty_run_dump_load_preserves_code() { function monty_run_dump_load_complex_code (line 63) | fn monty_run_dump_load_complex_code() { function monty_run_dump_load_multiple_runs (line 100) | fn monty_run_dump_load_multiple_runs() { function run_progress_dump_load_roundtrip (line 119) | fn run_progress_dump_load_roundtrip() { function run_progress_dump_load_multiple_calls (line 145) | fn run_progress_dump_load_multiple_calls() { function run_progress_complete_roundtrip (line 176) | fn run_progress_complete_roundtrip() { FILE: crates/monty/tests/bytecode_limits.rs function generate_many_locals (line 17) | fn generate_many_locals(count: usize) -> String { function generate_many_positional_args (line 30) | fn generate_many_positional_args(count: usize) -> String { function generate_many_keyword_args (line 45) | fn generate_many_keyword_args(count: usize) -> String { function generate_many_parameters (line 60) | fn generate_many_parameters(count: usize) -> String { function assert_syntax_error (line 82) | fn assert_syntax_error(result: Result, ... function locals_under_u8_limit_succeeds (line 102) | fn locals_under_u8_limit_succeeds() { function locals_at_u8_boundary_succeeds (line 114) | fn locals_at_u8_boundary_succeeds() { function locals_exceeding_u8_uses_wide_instructions (line 129) | fn locals_exceeding_u8_uses_wide_instructions() { function locals_well_over_u8_limit (line 141) | fn locals_well_over_u8_limit() { function positional_args_under_u8_limit_succeeds (line 157) | fn positional_args_under_u8_limit_succeeds() { function positional_args_at_u8_boundary_returns_syntax_error (line 169) | fn positional_args_at_u8_boundary_returns_syntax_error() { function positional_args_exceeding_u8_limit_returns_syntax_error (line 177) | fn positional_args_exceeding_u8_limit_returns_syntax_error() { function keyword_args_under_u8_limit_succeeds (line 189) | fn keyword_args_under_u8_limit_succeeds() { function keyword_args_at_u8_boundary_returns_syntax_error (line 201) | fn keyword_args_at_u8_boundary_returns_syntax_error() { function keyword_args_exceeding_u8_limit_returns_syntax_error (line 209) | fn keyword_args_exceeding_u8_limit_returns_syntax_error() { function parameters_under_u8_limit_succeeds (line 221) | fn parameters_under_u8_limit_succeeds() { function parameters_at_u8_boundary_returns_syntax_error_for_call (line 233) | fn parameters_at_u8_boundary_returns_syntax_error_for_call() { function parameters_exceeding_u8_limit_returns_syntax_error_for_call (line 242) | fn parameters_exceeding_u8_limit_returns_syntax_error_for_call() { FILE: crates/monty/tests/datatest_runner.rs constant TEST_RECURSION_LIMIT (line 33) | const TEST_RECURSION_LIMIT: usize = 50; type TestConfig (line 46) | struct TestConfig { type Expectation (line 60) | enum Expectation { method expected_value (line 82) | fn expected_value(&self) -> &str { function parse_fixture (line 114) | fn parse_fixture(content: &str) -> (String, Expectation, TestConfig) { function parse_traceback_expectation (line 182) | fn parse_traceback_expectation(content: &str) -> Option<(String, String)> { function parse_ref_counts (line 208) | fn parse_ref_counts(s: &str) -> AHashMap { constant ITER_EXT_FUNCTIONS_PYTHON (line 238) | const ITER_EXT_FUNCTIONS_PYTHON: &str = include_str!("../../../scripts/i... function ensure_python_modules_imported (line 248) | fn ensure_python_modules_imported() { type DispatchResult (line 274) | enum DispatchResult { function dispatch_external_call (line 289) | fn dispatch_external_call(name: &str, args: Vec) -> Dispatc... function dispatch_method_call (line 415) | fn dispatch_method_call( function extract_point_fields (line 501) | fn extract_point_fields(obj: &MontyObject) -> (i64, i64) { function get_kwarg_str (line 522) | fn get_kwarg_str(kwargs: &[(MontyObject, MontyObject)], name: &str) -> O... function extract_user_name (line 534) | fn extract_user_name(obj: &MontyObject) -> String { type StaticVirtualFile (line 555) | struct StaticVirtualFile { type VirtualFile (line 561) | struct VirtualFile { constant VFS_MTIME (line 567) | const VFS_MTIME: f64 = 1_700_000_000.0; function get_static_virtual_file (line 585) | fn get_static_virtual_file(path: &str) -> Option { function get_virtual_file (line 616) | fn get_virtual_file(path: &str) -> Option { type MutableVfs (line 657) | struct MutableVfs { function reset_mutable_vfs (line 674) | fn reset_mutable_vfs() { function is_virtual_dir (line 681) | fn is_virtual_dir(path: &str) -> bool { function get_virtual_dir_entries (line 701) | fn get_virtual_dir_entries(path: &str) -> Option> { function get_kwarg_bool (line 762) | fn get_kwarg_bool(kwargs: &[(MontyObject, MontyObject)], name: &str) -> ... function dispatch_os_call (line 778) | fn dispatch_os_call( function create_parent_dirs (line 1047) | fn create_parent_dirs(path: &str) { type TestFailure (line 1067) | struct TestFailure { method fmt (line 1075) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function try_run_test (line 1093) | fn try_run_test(path: &Path, code: &str, expectation: &Expectation) -> R... function try_run_iter_test (line 1279) | fn try_run_iter_test(path: &Path, code: &str, expectation: &Expectation)... function run_iter_loop (line 1426) | fn run_iter_loop(exec: MontyRun) -> Result { function split_code_for_module (line 1527) | fn split_code_for_module(code: &str, need_return_value: bool) -> (String... function wrap_code_for_async (line 1578) | fn wrap_code_for_async(code: &str, need_return_value: bool) -> (String, ... function run_traceback_script (line 1632) | fn run_traceback_script(path: &Path, iter_mode: bool, async_mode: bool) ... function format_traceback (line 1659) | fn format_traceback(py: Python<'_>, exc: &PyErr) -> String { function import_run_traceback (line 1671) | fn import_run_traceback(py: Python<'_>) -> Bound<'_, PyModule> { type CpythonResult (line 1684) | enum CpythonResult { function try_run_cpython_test (line 1704) | fn try_run_cpython_test( function format_cpython_exception (line 1864) | fn format_cpython_exception(py: Python<'_>, e: &PyErr) -> String { constant TEST_TIMEOUT (line 1888) | const TEST_TIMEOUT: Duration = Duration::from_secs(2); type TimeoutResult (line 1891) | enum TimeoutResult { function run_with_timeout (line 1910) | fn run_with_timeout(timeout: Duration, f: F) -> TimeoutResult function run_test_cases_monty (line 1952) | fn run_test_cases_monty(path: &Path) -> Result<(), Box> { function run_test_cases_cpython (line 2002) | fn run_test_cases_cpython(path: &Path) -> Result<(), Box> { FILE: crates/monty/tests/inputs.rs function input_int (line 12) | fn input_int() { function input_int_arithmetic (line 19) | fn input_int_arithmetic() { function input_bool_true (line 26) | fn input_bool_true() { function input_bool_false (line 33) | fn input_bool_false() { function input_float (line 40) | fn input_float() { function input_none (line 47) | fn input_none() { function input_ellipsis (line 54) | fn input_ellipsis() { function input_string (line 63) | fn input_string() { function input_string_concat (line 72) | fn input_string_concat() { function input_bytes (line 81) | fn input_bytes() { function input_list (line 88) | fn input_list() { function input_list_append (line 100) | fn input_list_append() { function input_tuple (line 112) | fn input_tuple() { function input_dict (line 127) | fn input_dict() { function input_dict_get (line 141) | fn input_dict_get() { function multiple_inputs_two (line 153) | fn multiple_inputs_two() { function multiple_inputs_three (line 162) | fn multiple_inputs_three() { function multiple_inputs_mixed_types (line 176) | fn multiple_inputs_mixed_types() { function no_inputs (line 191) | fn no_inputs() { function nested_list (line 198) | fn nested_list() { function empty_list_input (line 210) | fn empty_list_input() { function empty_string_input (line 217) | fn empty_string_input() { function input_exception (line 226) | fn input_exception() { function input_exception_no_arg (line 244) | fn input_exception_no_arg() { function input_exception_in_list (line 262) | fn input_exception_in_list() { function input_exception_raise (line 280) | fn input_exception_raise() { function invalid_input_repr (line 295) | fn invalid_input_repr() { function invalid_input_repr_nested_in_list (line 302) | fn invalid_input_repr_nested_in_list() { function function_param_shadows_input (line 315) | fn function_param_shadows_input() { function function_param_shadows_input_multiple_params (line 330) | fn function_param_shadows_input_multiple_params() { function function_param_shadows_input_but_global_accessible (line 347) | fn function_param_shadows_input_but_global_accessible() { function function_param_shadows_input_accessible_outside (line 364) | fn function_param_shadows_input_accessible_outside() { function function_param_with_default_shadows_input (line 379) | fn function_param_with_default_shadows_input() { function function_uses_input_as_argument (line 394) | fn function_uses_input_as_argument() { function function_doesnt_uses_input_as_argument (line 409) | fn function_doesnt_uses_input_as_argument() { FILE: crates/monty/tests/json_serde.rs function json_output_primitives (line 11) | fn json_output_primitives() { function json_output_list (line 30) | fn json_output_list() { function json_output_dict (line 40) | fn json_output_dict() { function json_output_tuple (line 50) | fn json_output_tuple() { function json_output_bytes (line 60) | fn json_output_bytes() { function json_output_ellipsis (line 67) | fn json_output_ellipsis() { function json_output_exception (line 74) | fn json_output_exception() { function json_output_repr (line 86) | fn json_output_repr() { function json_output_cycle_list (line 92) | fn json_output_cycle_list() { function json_output_cycle_dict (line 104) | fn json_output_cycle_dict() { function json_deserialize_primitives (line 117) | fn json_deserialize_primitives() { function json_deserialize_list (line 133) | fn json_deserialize_list() { function json_deserialize_dict (line 146) | fn json_deserialize_dict() { function json_roundtrip (line 168) | fn json_roundtrip() { function json_roundtrip_empty (line 183) | fn json_roundtrip_empty() { function cycle_equality_same_id (line 194) | fn cycle_equality_same_id() { function cycle_equality_different_ids (line 216) | fn cycle_equality_different_ids() { FILE: crates/monty/tests/main.rs function repeat_exec (line 5) | fn repeat_exec() { function test_get_interned_string (line 18) | fn test_get_interned_string() { function dataclass_method_call_in_standard_mode_errors (line 34) | fn dataclass_method_call_in_standard_mode_errors() { function subscript_augassign_matmul_reports_not_supported (line 65) | fn subscript_augassign_matmul_reports_not_supported() { FILE: crates/monty/tests/math_module.rs function run_expr (line 4) | fn run_expr(code: &str) -> MontyObject { function run_expect_error (line 11) | fn run_expect_error(code: &str) -> String { function factorial_i64_overflow (line 24) | fn factorial_i64_overflow() { function comb_large_but_fits_i64 (line 35) | fn comb_large_but_fits_i64() { function comb_i64_overflow (line 44) | fn comb_i64_overflow() { function perm_i64_overflow (line 54) | fn perm_i64_overflow() { function ldexp_large_negative_exponent_loop (line 69) | fn ldexp_large_negative_exponent_loop() { function ldexp_minimum_subnormal (line 79) | fn ldexp_minimum_subnormal() { function isqrt_large_values_newton_refinement (line 97) | fn isqrt_large_values_newton_refinement() { FILE: crates/monty/tests/name_lookup.rs function resolve_lookups_with (line 18) | fn resolve_lookups_with( function resolve_as_functions (line 31) | fn resolve_as_functions( function resolve_as_function_and_call (line 48) | fn resolve_as_function_and_call() { function resolve_as_int (line 67) | fn resolve_as_int() { function resolve_as_string (line 80) | fn resolve_as_string() { function resolve_as_bool (line 98) | fn resolve_as_bool() { function resolve_as_list (line 111) | fn resolve_as_list() { function resolve_as_float (line 125) | fn resolve_as_float() { function undefined_raises_name_error (line 142) | fn undefined_raises_name_error() { function standard_mode_raises_name_error (line 162) | fn standard_mode_raises_name_error() { function undefined_in_function_raises_name_error (line 176) | fn undefined_in_function_raises_name_error() { function resolved_name_is_cached (line 202) | fn resolved_name_is_cached() { function resolved_constant_is_cached (line 229) | fn resolved_constant_is_cached() { function multiple_names_each_looked_up (line 260) | fn multiple_names_each_looked_up() { function mixed_function_and_constant_lookups (line 288) | fn mixed_function_and_constant_lookups() { function builtins_do_not_trigger_lookup (line 328) | fn builtins_do_not_trigger_lookup() { function range_builtin_no_lookup (line 336) | fn range_builtin_no_lookup() { function input_function_no_lookup (line 352) | fn input_function_no_lookup() { function input_function_reassigned_then_called (line 380) | fn input_function_reassigned_then_called() { function input_function_with_looked_up_arg (line 413) | fn input_function_with_looked_up_arg() { function resolve_function_with_non_interned_name (line 449) | fn resolve_function_with_non_interned_name() { FILE: crates/monty/tests/os_tests.rs function run_to_oscall (line 14) | fn run_to_oscall(code: &str) -> (OsFunction, Vec) { function run_oscall_with_result (line 50) | fn run_oscall_with_result(code: &str, mock_result: MontyObject) -> (OsFu... function path_exists (line 71) | fn path_exists() { function path_is_file (line 78) | fn path_is_file() { function path_is_dir (line 85) | fn path_is_dir() { function path_is_symlink (line 92) | fn path_is_symlink() { function path_read_text (line 99) | fn path_read_text() { function path_read_bytes (line 106) | fn path_read_bytes() { function path_stat (line 113) | fn path_stat() { function path_iterdir (line 120) | fn path_iterdir() { function path_resolve (line 127) | fn path_resolve() { function path_absolute (line 134) | fn path_absolute() { function path_with_spaces (line 145) | fn path_with_spaces() { function path_with_unicode (line 152) | fn path_with_unicode() { function path_concatenation_yields_correct_path (line 159) | fn path_concatenation_yields_correct_path() { function exists_result_used_in_conditional (line 177) | fn exists_result_used_in_conditional() { function read_text_result_concatenated (line 192) | fn read_text_result_concatenated() { function read_bytes_result_used (line 203) | fn read_bytes_result_used() { function iterdir_result_iterated (line 215) | fn iterdir_result_iterated() { function iterdir_result_indexed (line 235) | fn iterdir_result_indexed() { function stat_result_st_size (line 253) | fn stat_result_st_size() { function stat_result_st_mode (line 267) | fn stat_result_st_mode() { function stat_result_multiple_fields (line 282) | fn stat_result_multiple_fields() { function stat_result_index_access (line 300) | fn stat_result_index_access() { function os_getenv_yields_oscall (line 319) | fn os_getenv_yields_oscall() { function os_getenv_with_default (line 332) | fn os_getenv_with_default() { function os_getenv_result_used (line 344) | fn os_getenv_result_used() { function os_environ_yields_oscall (line 359) | fn os_environ_yields_oscall() { function os_environ_result_is_dict (line 371) | fn os_environ_result_is_dict() { function os_environ_key_access (line 395) | fn os_environ_key_access() { function os_environ_get_method (line 413) | fn os_environ_get_method() { function os_environ_len (line 425) | fn os_environ_len() { function os_environ_in_check (line 444) | fn os_environ_in_check() { FILE: crates/monty/tests/parse_errors.rs function get_exc_type (line 6) | fn get_exc_type(result: Result) -> ExcType { function complex_numbers_return_not_implemented_error (line 12) | fn complex_numbers_return_not_implemented_error() { function complex_numbers_have_descriptive_message (line 18) | fn complex_numbers_have_descriptive_message() { function yield_expressions_return_not_implemented_error (line 28) | fn yield_expressions_return_not_implemented_error() { function classes_return_not_implemented_error (line 41) | fn classes_return_not_implemented_error() { function unknown_imports_compile_successfully_error_deferred_to_runtime (line 47) | fn unknown_imports_compile_successfully_error_deferred_to_runtime() { function with_statement_returns_not_implemented_error (line 56) | fn with_statement_returns_not_implemented_error() { function error_display_format (line 62) | fn error_display_format() { function invalid_fstring_format_spec_returns_syntax_error (line 91) | fn invalid_fstring_format_spec_returns_syntax_error() { function invalid_fstring_format_spec_str_returns_syntax_error (line 97) | fn invalid_fstring_format_spec_str_returns_syntax_error() { function syntax_error_display_format (line 103) | fn syntax_error_display_format() { function deeply_nested_tuples_exceed_limit (line 114) | fn deeply_nested_tuples_exceed_limit() { function nested_tuples_within_limit_succeed (line 132) | fn nested_tuples_within_limit_succeed() { function deeply_nested_unpack_assignment_exceeds_limit (line 145) | fn deeply_nested_unpack_assignment_exceeds_limit() { function deeply_nested_lists_exceed_limit (line 164) | fn deeply_nested_lists_exceed_limit() { function deeply_nested_dicts_exceed_limit (line 175) | fn deeply_nested_dicts_exceed_limit() { function deeply_nested_function_calls_exceed_limit (line 186) | fn deeply_nested_function_calls_exceed_limit() { function deeply_nested_binary_ops_exceed_limit (line 198) | fn deeply_nested_binary_ops_exceed_limit() { function deeply_nested_ternary_if_exceed_limit (line 209) | fn deeply_nested_ternary_if_exceed_limit() { function deeply_nested_subscripts_exceed_limit (line 220) | fn deeply_nested_subscripts_exceed_limit() { function deeply_nested_list_comprehension_exceed_limit (line 232) | fn deeply_nested_list_comprehension_exceed_limit() { function deeply_nested_if_statements_exceed_limit (line 243) | fn deeply_nested_if_statements_exceed_limit() { function deeply_nested_while_loops_exceed_limit (line 256) | fn deeply_nested_while_loops_exceed_limit() { function deeply_nested_for_loops_exceed_limit (line 269) | fn deeply_nested_for_loops_exceed_limit() { function deeply_nested_try_except_exceed_limit (line 282) | fn deeply_nested_try_except_exceed_limit() { function deeply_nested_function_defs_exceed_limit (line 299) | fn deeply_nested_function_defs_exceed_limit() { function deeply_nested_attribute_access_exceed_limit (line 312) | fn deeply_nested_attribute_access_exceed_limit() { function deeply_nested_lambdas_exceed_limit (line 323) | fn deeply_nested_lambdas_exceed_limit() { function deeply_nested_unary_not_exceed_limit (line 334) | fn deeply_nested_unary_not_exceed_limit() { function deeply_nested_unary_minus_exceed_limit (line 345) | fn deeply_nested_unary_minus_exceed_limit() { function deeply_nested_walrus_operator_exceed_limit (line 356) | fn deeply_nested_walrus_operator_exceed_limit() { function deeply_nested_await_exceed_limit (line 367) | fn deeply_nested_await_exceed_limit() { function deeply_nested_boolean_and_exceed_limit (line 380) | fn deeply_nested_boolean_and_exceed_limit() { function deeply_nested_boolean_or_exceed_limit (line 391) | fn deeply_nested_boolean_or_exceed_limit() { function run_and_get_exc_type (line 405) | fn run_and_get_exc_type(code: &str) -> ExcType { function matrix_multiplication_returns_not_implemented_error (line 412) | fn matrix_multiplication_returns_not_implemented_error() { function matrix_multiplication_augmented_assignment_returns_syntax_error (line 418) | fn matrix_multiplication_augmented_assignment_returns_syntax_error() { function matrix_multiplication_augmented_assignment_has_descriptive_message (line 425) | fn matrix_multiplication_augmented_assignment_has_descriptive_message() { function del_statement_returns_not_implemented_error (line 437) | fn del_statement_returns_not_implemented_error() { FILE: crates/monty/tests/print_writer.rs function print_single_string (line 4) | fn print_single_string() { function print_multiple_args (line 13) | fn print_multiple_args() { function print_multiple_statements (line 22) | fn print_multiple_statements() { function print_empty (line 36) | fn print_empty() { function print_integers (line 45) | fn print_integers() { function print_mixed_types (line 54) | fn print_mixed_types() { function print_in_function (line 63) | fn print_in_function() { function print_in_loop (line 79) | fn print_in_loop() { function collect_output_accessible_after_run (line 92) | fn collect_output_accessible_after_run() { function writer_reuse_accumulates (line 101) | fn writer_reuse_accumulates() { function disabled_suppresses_output (line 116) | fn disabled_suppresses_output() { function print_custom_sep (line 130) | fn print_custom_sep() { function print_custom_end (line 139) | fn print_custom_end() { function print_custom_sep_and_end (line 148) | fn print_custom_sep_and_end() { function print_empty_sep (line 162) | fn print_empty_sep() { function print_empty_end (line 171) | fn print_empty_end() { function print_sep_none (line 181) | fn print_sep_none() { function print_end_none (line 193) | fn print_end_none() { function print_flush_ignored (line 203) | fn print_flush_ignored() { function print_kwargs_dict (line 213) | fn print_kwargs_dict() { function print_only_kwargs_no_args (line 223) | fn print_only_kwargs_no_args() { function print_multiline_sep (line 232) | fn print_multiline_sep() { FILE: crates/monty/tests/py_object.rs function is_truthy_none_is_falsy (line 6) | fn is_truthy_none_is_falsy() { function is_truthy_ellipsis_is_truthy (line 11) | fn is_truthy_ellipsis_is_truthy() { function is_truthy_false_is_falsy (line 16) | fn is_truthy_false_is_falsy() { function is_truthy_true_is_truthy (line 21) | fn is_truthy_true_is_truthy() { function is_truthy_zero_int_is_falsy (line 26) | fn is_truthy_zero_int_is_falsy() { function is_truthy_nonzero_int_is_truthy (line 31) | fn is_truthy_nonzero_int_is_truthy() { function is_truthy_zero_float_is_falsy (line 38) | fn is_truthy_zero_float_is_falsy() { function is_truthy_nonzero_float_is_truthy (line 43) | fn is_truthy_nonzero_float_is_truthy() { function is_truthy_empty_string_is_falsy (line 50) | fn is_truthy_empty_string_is_falsy() { function is_truthy_nonempty_string_is_truthy (line 55) | fn is_truthy_nonempty_string_is_truthy() { function is_truthy_empty_bytes_is_falsy (line 61) | fn is_truthy_empty_bytes_is_falsy() { function is_truthy_nonempty_bytes_is_truthy (line 66) | fn is_truthy_nonempty_bytes_is_truthy() { function is_truthy_empty_list_is_falsy (line 72) | fn is_truthy_empty_list_is_falsy() { function is_truthy_nonempty_list_is_truthy (line 77) | fn is_truthy_nonempty_list_is_truthy() { function is_truthy_empty_tuple_is_falsy (line 82) | fn is_truthy_empty_tuple_is_falsy() { function is_truthy_nonempty_tuple_is_truthy (line 87) | fn is_truthy_nonempty_tuple_is_truthy() { function is_truthy_empty_dict_is_falsy (line 92) | fn is_truthy_empty_dict_is_falsy() { function is_truthy_nonempty_dict_is_truthy (line 97) | fn is_truthy_nonempty_dict_is_truthy() { function type_name (line 105) | fn type_name() { FILE: crates/monty/tests/regex.rs function run (line 16) | fn run(code: &str) -> String { function backtrack_limit_prevents_redos (line 38) | fn backtrack_limit_prevents_redos() { function backtrack_limit_on_compiled_pattern (line 60) | fn backtrack_limit_on_compiled_pattern() { function dfa_engine_handles_large_inputs (line 80) | fn dfa_engine_handles_large_inputs() { FILE: crates/monty/tests/repl.rs function repl_executes_only_new_code (line 12) | fn repl_executes_only_new_code() { function feed_run_print (line 26) | fn feed_run_print(repl: &mut MontyRepl, code: &str... function init_repl (line 30) | fn init_repl(code: &str) -> (MontyRepl, MontyObject) { function repl_persists_state_and_definitions (line 37) | fn repl_persists_state_and_definitions() { function repl_function_redefinition_uses_latest_definition (line 47) | fn repl_function_redefinition_uses_latest_definition() { function repl_nested_function_redefinition_updates_callers (line 59) | fn repl_nested_function_redefinition_updates_callers() { function repl_runtime_error_keeps_partial_state_consistent (line 72) | fn repl_runtime_error_keeps_partial_state_consistent() { function repl_heap_mutations_are_not_replayed (line 85) | fn repl_heap_mutations_are_not_replayed() { function repl_detects_continuation_mode_for_common_cases (line 102) | fn repl_detects_continuation_mode_for_common_cases() { function repl_tracebacks_use_incrementing_python_input_filenames (line 118) | fn repl_tracebacks_use_incrementing_python_input_filenames() { function repl_dump_load_survives_between_snippets (line 132) | fn repl_dump_load_survives_between_snippets() { function repl_dump_load_preserves_heap_aliasing (line 145) | fn repl_dump_load_preserves_heap_aliasing() { function repl_start_external_call_resumes_to_updated_repl (line 165) | fn repl_start_external_call_resumes_to_updated_repl() { function repl_progress_dump_load_roundtrip (line 183) | fn repl_progress_dump_load_roundtrip() { function repl_start_run_pending_resolve_futures_roundtrip (line 203) | fn repl_start_run_pending_resolve_futures_roundtrip() { function repl_start_runtime_error_preserves_repl_state (line 242) | fn repl_start_runtime_error_preserves_repl_state() { function repl_start_runtime_error_during_external_call_preserves_repl_state (line 264) | fn repl_start_runtime_error_during_external_call_preserves_repl_state() { function repl_dataclass_method_call_yields_function_call_with_method_flag (line 285) | fn repl_dataclass_method_call_yields_function_call_with_method_flag() { function repl_start_new_external_function_in_later_block (line 324) | fn repl_start_new_external_function_in_later_block() { FILE: crates/monty/tests/resource_limits.rs function resolve_name_lookups (line 16) | fn resolve_name_lookups( function gc_collects_dict_cycles_via_has_refs (line 38) | fn gc_collects_dict_cycles_via_has_refs() { function gc_collects_list_cycles (line 92) | fn gc_collects_list_cycles() { function allocation_limit_exceeded (line 150) | fn allocation_limit_exceeded() { function allocation_limit_not_exceeded (line 174) | fn allocation_limit_not_exceeded() { function time_limit_exceeded (line 194) | fn time_limit_exceeded() { function time_limit_not_exceeded (line 220) | fn time_limit_not_exceeded() { function memory_limit_exceeded (line 235) | fn memory_limit_exceeded() { function combined_limits (line 261) | fn combined_limits() { function run_without_limits_succeeds (line 276) | fn run_without_limits_succeeds() { function gc_interval_triggers_collection (line 292) | fn gc_interval_triggers_collection() { function executor_iter_resource_limit_on_resume (line 317) | fn executor_iter_resource_limit_on_resume() { function executor_iter_resource_limit_before_function_call (line 353) | fn executor_iter_resource_limit_before_function_call() { function char_f_string_not_allocated (line 378) | fn char_f_string_not_allocated() { function executor_iter_resource_limit_multiple_function_calls (line 390) | fn executor_iter_resource_limit_multiple_function_calls() { function recursion_respects_memory_limit (line 442) | fn recursion_respects_memory_limit() { function recursion_depth_limit_exceeded (line 474) | fn recursion_depth_limit_exceeded() { function recursion_depth_limit_not_exceeded (line 499) | fn recursion_depth_limit_not_exceeded() { function bigint_pow_memory_limit (line 522) | fn bigint_pow_memory_limit() { function pow_overflowing_estimate_rejected (line 545) | fn pow_overflowing_estimate_rejected() { function pow_large_base_moderate_exp_rejected (line 567) | fn pow_large_base_moderate_exp_rejected() { function pow_intermediate_allocation_multiplier (line 589) | fn pow_intermediate_allocation_multiplier() { function pow_within_limit_with_multiplier (line 615) | fn pow_within_limit_with_multiplier() { function pow_fuzzer_oom_chained_exponentiation (line 633) | fn pow_fuzzer_oom_chained_exponentiation() { function pow_fuzzer_oom_full_input (line 660) | fn pow_fuzzer_oom_full_input() { function bigint_lshift_memory_limit (line 680) | fn bigint_lshift_memory_limit() { function bigint_mult_memory_limit (line 700) | fn bigint_mult_memory_limit() { function bigint_small_operations_within_limit (line 720) | fn bigint_small_operations_within_limit() { function bigint_edge_cases_always_succeed (line 737) | fn bigint_edge_cases_always_succeed() { function bigint_builtin_pow_memory_limit (line 786) | fn bigint_builtin_pow_memory_limit() { function bigint_rejected_before_allocation (line 803) | fn bigint_rejected_before_allocation() { function string_mult_memory_limit (line 828) | fn string_mult_memory_limit() { function bytes_mult_memory_limit (line 847) | fn bytes_mult_memory_limit() { function string_mult_within_limit (line 866) | fn string_mult_within_limit() { function bytes_mult_within_limit (line 880) | fn bytes_mult_within_limit() { function string_mult_rejected_before_allocation (line 894) | fn string_mult_rejected_before_allocation() { function list_mult_memory_limit (line 917) | fn list_mult_memory_limit() { function tuple_mult_memory_limit (line 936) | fn tuple_mult_memory_limit() { function list_mult_within_limit (line 955) | fn list_mult_within_limit() { function int_times_bytes_memory_limit (line 973) | fn int_times_bytes_memory_limit() { function int_times_string_memory_limit (line 992) | fn int_times_string_memory_limit() { function longint_times_bytes_memory_limit (line 1011) | fn longint_times_bytes_memory_limit() { function longint_times_string_memory_limit (line 1031) | fn longint_times_string_memory_limit() { function tuple_mult_within_limit (line 1050) | fn tuple_mult_within_limit() { function assert_timeout_in_builtin (line 1070) | fn assert_timeout_in_builtin(code: &str, label: &str) { function timeout_in_sum_builtin (line 1095) | fn timeout_in_sum_builtin() { function timeout_in_list_constructor (line 1103) | fn timeout_in_list_constructor() { function timeout_in_sorted_builtin (line 1112) | fn timeout_in_sorted_builtin() { function timeout_in_min_builtin (line 1120) | fn timeout_in_min_builtin() { function timeout_in_max_builtin (line 1128) | fn timeout_in_max_builtin() { function timeout_in_all_builtin (line 1137) | fn timeout_in_all_builtin() { function timeout_in_any_builtin (line 1149) | fn timeout_in_any_builtin() { function timeout_in_tuple_constructor (line 1162) | fn timeout_in_tuple_constructor() { function timeout_in_str_join (line 1170) | fn timeout_in_str_join() { function timeout_in_sorted_comparison_loop (line 1183) | fn timeout_in_sorted_comparison_loop() { function timeout_in_list_repetition (line 1202) | fn timeout_in_list_repetition() { function timeout_in_tuple_repetition (line 1215) | fn timeout_in_tuple_repetition() { function timeout_in_list_equality (line 1228) | fn timeout_in_list_equality() { function timeout_in_dict_equality (line 1246) | fn timeout_in_dict_equality() { function timeout_in_str_splitlines (line 1264) | fn timeout_in_str_splitlines() { function timeout_in_bytes_splitlines (line 1280) | fn timeout_in_bytes_splitlines() { function assert_repr_timeout (line 1303) | fn assert_repr_timeout(code: &str, label: &str) { function timeout_truncation_in_list_repr (line 1348) | fn timeout_truncation_in_list_repr() { function timeout_truncation_in_dict_repr (line 1366) | fn timeout_truncation_in_dict_repr() { function timeout_truncation_in_set_repr (line 1384) | fn timeout_truncation_in_set_repr() { function str_replace_amplification_memory_limit (line 1399) | fn str_replace_amplification_memory_limit() { function str_replace_within_limit (line 1420) | fn str_replace_within_limit() { function bytes_replace_amplification_memory_limit (line 1433) | fn bytes_replace_amplification_memory_limit() { function str_replace_empty_pattern_memory_limit (line 1457) | fn str_replace_empty_pattern_memory_limit() { function str_ljust_memory_limit (line 1480) | fn str_ljust_memory_limit() { function str_rjust_memory_limit (line 1498) | fn str_rjust_memory_limit() { function str_center_memory_limit (line 1512) | fn str_center_memory_limit() { function str_zfill_memory_limit (line 1526) | fn str_zfill_memory_limit() { function str_padding_within_limit (line 1540) | fn str_padding_within_limit() { function bytes_ljust_memory_limit (line 1553) | fn bytes_ljust_memory_limit() { function bytes_rjust_memory_limit (line 1567) | fn bytes_rjust_memory_limit() { function bytes_center_memory_limit (line 1581) | fn bytes_center_memory_limit() { function bytes_zfill_memory_limit (line 1595) | fn bytes_zfill_memory_limit() { function fstring_dynamic_width_memory_limit (line 1609) | fn fstring_dynamic_width_memory_limit() { function re_sub_amplification_memory_limit (line 1632) | fn re_sub_amplification_memory_limit() { function re_sub_empty_pattern_amplification_memory_limit (line 1658) | fn re_sub_empty_pattern_amplification_memory_limit() { function re_pattern_sub_amplification_memory_limit (line 1679) | fn re_pattern_sub_amplification_memory_limit() { function re_sub_backtracking_limit_raises_pattern_error (line 1702) | fn re_sub_backtracking_limit_raises_pattern_error() { function re_sub_selective_pattern_passes (line 1728) | fn re_sub_selective_pattern_passes() { function re_sub_digit_pattern_passes (line 1753) | fn re_sub_digit_pattern_passes() { function re_sub_every_char_amplification_rejected (line 1775) | fn re_sub_every_char_amplification_rejected() { function re_sub_within_limit (line 1795) | fn re_sub_within_limit() { function re_sub_with_count_within_limit (line 1814) | fn re_sub_with_count_within_limit() { FILE: crates/monty/tests/try_from.rs function try_from_ok_int_to_i64 (line 10) | fn try_from_ok_int_to_i64() { function try_from_ok_zero_to_i64 (line 18) | fn try_from_ok_zero_to_i64() { function try_from_ok_float_to_f64 (line 27) | fn try_from_ok_float_to_f64() { function try_from_ok_int_to_f64 (line 36) | fn try_from_ok_int_to_f64() { function try_from_ok_string_to_string (line 44) | fn try_from_ok_string_to_string() { function try_from_ok_empty_string_to_string (line 52) | fn try_from_ok_empty_string_to_string() { function try_from_ok_multiline_string_to_string (line 60) | fn try_from_ok_multiline_string_to_string() { function try_from_ok_bool_true_to_bool (line 68) | fn try_from_ok_bool_true_to_bool() { function try_from_ok_bool_false_to_bool (line 76) | fn try_from_ok_bool_false_to_bool() { function try_from_err_string_to_i64 (line 90) | fn try_from_err_string_to_i64() { function try_from_err_float_to_i64 (line 98) | fn try_from_err_float_to_i64() { function try_from_err_none_to_i64 (line 106) | fn try_from_err_none_to_i64() { function try_from_err_list_to_i64 (line 114) | fn try_from_err_list_to_i64() { function try_from_err_int_to_string (line 122) | fn try_from_err_int_to_string() { function try_from_err_none_to_string (line 130) | fn try_from_err_none_to_string() { function try_from_err_list_to_string (line 138) | fn try_from_err_list_to_string() { function try_from_err_int_to_bool (line 146) | fn try_from_err_int_to_bool() { function try_from_err_string_to_bool (line 154) | fn try_from_err_string_to_bool() { function try_from_err_none_to_bool (line 162) | fn try_from_err_none_to_bool() { FILE: examples/expense_analysis/data.py function get_team_members (line 85) | async def get_team_members(department: str) -> dict[str, Any]: function get_expenses (line 97) | async def get_expenses(user_id: int, quarter: str, category: str) -> dic... function get_custom_budget (line 112) | async def get_custom_budget(user_id: int) -> dict[str, Any] | None: FILE: examples/expense_analysis/main.py function main (line 99) | async def main(): FILE: examples/sql_playground/external_functions.py class ExternalFunctions (line 18) | class ExternalFunctions: method query_csv (line 21) | async def query_csv( method read_json (line 55) | async def read_json(self, filepath: PurePosixPath) -> list[Any] | dict... method analyze_sentiment (line 68) | async def analyze_sentiment(text: str) -> float: FILE: examples/sql_playground/main.py function main (line 38) | async def main(): FILE: examples/sql_playground/sandbox_code.py function main (line 14) | async def main(): FILE: examples/sql_playground/type_stubs.pyi function query_csv (line 4) | async def query_csv(filepath: Path, sql: str, parameters: dict[str, Any]... function read_json (line 8) | async def read_json(filepath: Path) -> list[Any] | dict[str, Any]: function analyze_sentiment (line 12) | async def analyze_sentiment(text: str) -> float: FILE: examples/web_scraper/browser.py function start_browser (line 16) | async def start_browser() -> AsyncIterator[Browser]: class Browser (line 25) | class Browser: method open_page (line 28) | async def open_page( FILE: examples/web_scraper/external_functions.py function open_page (line 10) | async def open_page( class Page (line 30) | class Page: method __post_init__ (line 39) | def __post_init__(self): method go_to (line 42) | async def go_to( method click (line 59) | async def click(self, selector: str, force: bool = False) -> None: method fill (line 70) | async def fill(self, selector: str, value: str) -> None: method select_option (line 80) | async def select_option(self, selector: str, value: str) -> None: method check (line 90) | async def check(self, selector: str) -> None: method press (line 99) | async def press(self, selector: str, key: str) -> None: method wait_for_selector (line 109) | async def wait_for_selector(self, selector: str, timeout: float = 30_0... method screenshot (line 119) | async def screenshot(self, full_page: bool = False) -> bytes: method evaluate (line 130) | async def evaluate(self, expression: str) -> str: method get_text (line 139) | async def get_text(self, selector: str) -> str: method get_attribute (line 151) | async def get_attribute(self, selector: str, name: str) -> str | None: function beautiful_soup (line 164) | def beautiful_soup(html: str) -> Tag: class Tag (line 174) | class Tag: method find (line 183) | def find( method find_all (line 203) | def find_all( method select (line 225) | def select(self, selector: str) -> 'list[Tag]': method select_one (line 236) | def select_one(self, selector: str) -> 'Tag | None': method get (line 250) | def get(self, key: str, default: str | None = None) -> str | list[str]... method get_text (line 263) | def get_text(self, separator: str = '', strip: bool = False) -> str: method children (line 275) | def children(self) -> 'list[Tag | str]': function _from_beautifulsoup (line 298) | def _from_beautifulsoup(element: BsTag) -> Tag: function _parse (line 311) | def _parse(html: str) -> BsTag: FILE: examples/web_scraper/main.py function _generate_stubs (line 26) | def _generate_stubs() -> str: function main (line 81) | async def main(model: str): function new_node (line 153) | def new_node(msg: str) -> ModelRequestNode[None, str]: class ExtractCode (line 158) | class ExtractCode: method extract (line 176) | def extract(cls, response: str) -> ExtractCode: FILE: examples/web_scraper/sub_agent.py class ModelInfo (line 12) | class ModelInfo(BaseModel, use_attribute_docstrings=True): class RecordModels (line 36) | class RecordModels: method record_model_info (line 39) | async def record_model_info(self, model_information: dict[str, Any]) -... method record_model_info_stub (line 63) | def record_model_info_stub(cls) -> str: FILE: scripts/check_imports.py function check_file (line 12) | def check_file(path: Path) -> list[str]: function main (line 72) | def main() -> int: FILE: scripts/codecov_diff.py function get_repo_from_gh (line 149) | def get_repo_from_gh() -> tuple[str, str] | None: function get_pr_from_gh (line 164) | def get_pr_from_gh() -> int | None: function graphql_request (line 179) | def graphql_request(query: str, variables: dict[str, Any]) -> dict[str, ... function get_pull_coverage (line 191) | def get_pull_coverage(org: str, repo: str, pr_number: int) -> dict[str, ... function get_file_coverage (line 212) | def get_file_coverage(org: str, repo: str, pr_number: int, file_path: st... function parse_line_coverage (line 236) | def parse_line_coverage(segments: list[dict[str, Any]]) -> tuple[list[in... function format_line_ranges (line 269) | def format_line_ranges(lines: list[int]) -> str: function format_percentage (line 297) | def format_percentage(value: float | None) -> str: function fetch_codecov_coverage (line 304) | def fetch_codecov_coverage(org: str, repo: str, pr_number: int) -> None: function main (line 384) | def main() -> None: FILE: scripts/complete_tests.py function get_cpython_result (line 19) | def get_cpython_result(code: str, expect_type: str) -> str: function process_file (line 78) | def process_file(filepath: Path, dry_run: bool = False) -> bool: function main (line 119) | def main(): FILE: scripts/flamegraph_to_text.py class Frame (line 16) | class Frame(TypedDict): function parse_title (line 26) | def parse_title(title: str) -> tuple[str, int, float] | None: function extract_frames (line 39) | def extract_frames(svg_path: Path) -> list[Frame]: function frames_to_text (line 86) | def frames_to_text(frames: list[Frame], benchmark_name: str) -> str: function find_flamegraph_svgs (line 152) | def find_flamegraph_svgs(target_dir: Path) -> list[tuple[str, Path]]: function main (line 174) | def main(): FILE: scripts/iter_test_methods.py function add_ints (line 20) | def add_ints(a: int, b: int) -> int: function concat_strings (line 24) | def concat_strings(a: str, b: str) -> str: function return_value (line 28) | def return_value(x: object) -> object: function get_list (line 32) | def get_list() -> list[int]: function raise_error (line 36) | def raise_error(exc_type: str, message: str) -> None: class Point (line 47) | class Point: method sum (line 51) | def sum(self) -> int: method add (line 54) | def add(self, dx: int, dy: int) -> 'Point': method scale (line 57) | def scale(self, factor: int) -> 'Point': method describe (line 60) | def describe(self, label: str = 'point') -> str: function make_point (line 64) | def make_point() -> Point: class MutablePoint (line 69) | class MutablePoint: method sum (line 73) | def sum(self) -> int: method shift (line 76) | def shift(self, dx: int, dy: int) -> None: function make_mutable_point (line 81) | def make_mutable_point() -> MutablePoint: class User (line 86) | class User: method greeting (line 90) | def greeting(self) -> str: function make_user (line 94) | def make_user(name: str) -> User: class Empty (line 99) | class Empty: function make_empty (line 103) | def make_empty() -> Empty: function async_call (line 117) | async def async_call(x: object) -> object: class VirtualStatResult (line 160) | class VirtualStatResult: method __init__ (line 166) | def __init__(self, st_mode: int, st_size: int): method __getitem__ (line 179) | def __getitem__(self, index: int) -> int | float: function is_virtual_path (line 196) | def is_virtual_path(path: str) -> bool: class VirtualPath (line 201) | class VirtualPath(type(Path())): method exists (line 208) | def exists(self, *, follow_symlinks: bool = True) -> bool: method is_file (line 214) | def is_file(self, *, follow_symlinks: bool = True) -> bool: method is_dir (line 220) | def is_dir(self, *, follow_symlinks: bool = True) -> bool: method is_symlink (line 226) | def is_symlink(self) -> bool: method read_text (line 232) | def read_text(self, encoding: str | None = None, errors: str | None = ... method read_bytes (line 241) | def read_bytes(self) -> bytes: method stat (line 250) | def stat( # pyright: ignore[reportIncompatibleMethodOverride] method iterdir (line 267) | def iterdir(self): # pyright: ignore[reportUnknownParameterType] method resolve (line 277) | def resolve(self, strict: bool = False) -> 'VirtualPath': method absolute (line 284) | def absolute(self) -> 'VirtualPath': method write_text (line 291) | def write_text( method write_bytes (line 307) | def write_bytes(self, data: bytes) -> int: # pyright: ignore[reportIn... method mkdir (line 316) | def mkdir(self, mode: int = 0o777, parents: bool = False, exist_ok: bo... method unlink (line 342) | def unlink(self, missing_ok: bool = False) -> None: method rmdir (line 354) | def rmdir(self) -> None: method rename (line 366) | def rename(self, target: 'VirtualPath | str') -> 'VirtualPath': # pyr... function _add_to_parent_dir (line 390) | def _add_to_parent_dir(path_str: str) -> None: function _remove_from_parent_dir (line 398) | def _remove_from_parent_dir(path_str: str) -> None: function _virtual_path_new (line 410) | def _virtual_path_new(cls: type, *args: object, **kwargs: object) -> Path: function _virtual_getenv (line 448) | def _virtual_getenv(key: str, default: str | None = None) -> str | None: class VirtualEnviron (line 472) | class VirtualEnviron: method __getitem__ (line 482) | def __getitem__(self, key: str) -> str: method __contains__ (line 489) | def __contains__(self, key: object) -> bool: method __len__ (line 497) | def __len__(self) -> int: method get (line 501) | def get(self, key: str, default: str | None = None) -> str | None: method keys (line 511) | def keys(self): method values (line 515) | def values(self): method items (line 519) | def items(self): FILE: scripts/run_traceback.py function run_file_and_get_traceback (line 22) | def run_file_and_get_traceback( function _adjust_async_frame (line 126) | def _adjust_async_frame(frame: str, tmp_path: str, file_name: str, line_... function format_full_traceback (line 151) | def format_full_traceback(e: Exception): function normalize_debug_range (line 158) | def normalize_debug_range(line: str) -> str: FILE: scripts/startup_performance.py function run_monty (line 23) | def run_monty(): function run_pyodide (line 31) | def run_pyodide(): function run_docker (line 43) | def run_docker(): function run_starlark (line 56) | def run_starlark(): function run_daytona (line 69) | def run_daytona(): function run_wasmer (line 87) | def run_wasmer(): function run_subprocess_python (line 101) | def run_subprocess_python(): function run_exec_python (line 114) | def run_exec_python():