MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

Functionmethod_with_lifetime
()
tests/test_methods.rs:832
Functionmethod_with_pyclassarg
()
tests/test_methods.rs:882
Methodmethod_with_warning
(_slf: crate::PyRef<'_, Self>)
src/tests/hygiene/pymethods.rs:487
Methodmethod_with_warning
(_slf: PyRef<'_, Self>)
tests/test_methods.rs:1330
Methodmethod_with_warning_and_custom_category
(_slf: crate::PyRef<'_, Self>)
src/tests/hygiene/pymethods.rs:490
Methodmethod_with_warning_and_custom_category
(_slf: PyRef<'_, Self>)
tests/test_methods.rs:1333
Methodmethod_with_warning_and_user_defined_category
(&self)
src/tests/hygiene/pymethods.rs:494
Methodmethod_with_warning_and_user_defined_category
(&self)
tests/test_methods.rs:1337
Functionmingw_hardcoded_cross_compile
()
pyo3-build-config/src/impl_.rs:3329
Functionmissing_cancel_handle_attribute
(_param: pyo3::coroutine::CancelHandle)
tests/ui/invalid_cancel_handle.rs:24
Functionmissing_required_arguments
()
src/impl_/extract_argument.rs:1184
Methodmodule_attr
Build from a module and a name like `collections.abc` and `Sequence`
pyo3-macros-backend/src/py_expr.rs:83
Functionmodule_def_new
()
src/impl_/pymodule.rs:637
Functionmodule_dict
(m: &Bound<'_, PyModule>)
tests/test_module.rs:316
Functionmodule_exec
( module: *mut ffi::PyObject, f: for<'a, 'py> fn(&'a Bound<'py, PyModule>) -> PyResult<()>, )
src/impl_/trampoline.rs:26
Functionmodule_exec
(_module: *mut ffi::PyObject)
src/impl_/pymodule.rs:577
Functionmodule_filename
()
src/types/module.rs:605
Functionmodule_fn_multiple_errors
~^ ERROR: `name` may only be specified once ~| ERROR: `gil_used` may only be specified once
tests/ui/invalid_pymodule_args.rs:12
Functionmodule_fn_with_functions
(m: &Bound<'_, PyModule>)
tests/test_append_to_inittab.rs:12
Functionmodule_from_code_empty_file
()
src/types/module.rs:620
Functionmodule_import_and_name
()
src/types/module.rs:597
Functionmodule_init
()
src/impl_/pymodule.rs:582
Functionmodule_with_constant
(m: &Bound<'_, PyModule>)
tests/test_module.rs:437
Functionmodule_with_explicit_py_arg
(_py: Python<'_>, m: &Bound<'_, PyModule>)
tests/test_module.rs:205
Functionmodule_with_functions_with_module
(m: &Bound<'_, PyModule>)
tests/test_module.rs:507
Functionmodule_with_pyfn
(m: &Bound<'_, PyModule>)
tests/test_module.rs:129
Functionmodule_with_pyfn
(m: &Bound<'_, PyModule>)
tests/ui/deprecated_pyfn.rs:6
Methodmro
(&self)
src/types/typeobject.rs:217
Methodmultiple_default_warnings_fn
(&self)
src/tests/hygiene/pymethods.rs:558
Methodmultiple_errors_classmethod_with_receiver
(&self)
tests/ui/invalid_pymethods.rs:205
Methodmultiple_errors_different_order
~^ ERROR: expected argument from function definition `x` but got argument `kwargs`
tests/ui/invalid_pyfunction_signatures.rs:77
Methodmultiple_errors_same_order
~^ ERROR: expected argument from function definition `args` but got argument `kwargs`
tests/ui/invalid_pyfunction_signatures.rs:69
Methodmultiple_errors_static_and_class_method
()
tests/ui/invalid_pymethods.rs:198
Methodmultiple_errors_staticmethod_with_receiver
(&self)
tests/ui/invalid_pymethods.rs:201
Methodmultiple_method_types
()
tests/ui/invalid_pymethods.rs:117
Methodmultiple_warn_custom_category_method
(&self)
tests/test_methods.rs:1542
Methodmultiple_warn_method
(&self)
src/tests/hygiene/pymethods.rs:541
Methodmultiple_warn_method
(&self)
tests/test_methods.rs:1537
Functionmultiple_warning_function
()
src/tests/hygiene/pyfunction.rs:25
Methodmultiple_warnings_fn
(&self)
src/tests/hygiene/pymethods.rs:562
Methodmultiple_warnings_fn_with_custom_category
(&self)
src/tests/hygiene/pymethods.rs:567
Functionmultiple_watchers_can_register_the_same_callback
()
src/types/context.rs:512
Functionmultithreaded_class_with_freelist
()
tests/test_gc.rs:68
Methodmust_be_unique
(&self)
tests/test_compile_error.rs:424
Methodmut_method
(&mut self)
tests/ui/invalid_frozen_pyclass_borrow.rs:12
Functionmut_ref_arg
()
tests/test_various.rs:27
Methodmutate_in_place
(&mut self)
tests/ui/invalid_pymethod_enum.rs:12
Functionmutation_fails
()
tests/test_inheritance.rs:158
Methodmy_classmethod
(_cls: Py<PyType>)
tests/test_coroutine.rs:68
Functionmy_fn
()
tests/test_coroutine.rs:56
Functionmy_function
(a: i32, b: Option<i32>, c: i32)
tests/test_text_signature.rs:98
Functionmy_function_2
(module: &Bound<'_, PyModule>, a: i32, b: i32, c: i32)
tests/test_text_signature.rs:117
Functionmy_function_3
(a: i32, b: Option<i32>, c: i32)
tests/test_text_signature.rs:122
Functionmy_function_4
( a: i32, b: Option<i32>, args: &Bound<'_, PyTuple>, c: i32, d: i32,
tests/test_text_signature.rs:127
Functionmy_function_5
(a: i32, b: Option<i32>, c: f32, d: i32, e: &str, f: char, h: bool)
tests/test_text_signature.rs:139
Functionmy_function_6
(a: i32, b: Option<i32>, c: Option<i32>)
tests/test_text_signature.rs:145
Methodmy_method
TODO use &self when possible
tests/test_coroutine.rs:66
Functionmy_module
(m: &crate::Bound<'_, crate::types::PyModule>)
src/tests/hygiene/pymodule.rs:18
Functionmy_module
(_m: &Bound<'_, PyModule>)
tests/test_module.rs:557
Functionmy_module
(m: &Bound<'_, PyModule>)
tests/test_text_signature.rs:336
Methodmy_staticmethod
()
tests/test_coroutine.rs:70
Functionmypy
(session: nox.Session)
pytests/noxfile.py:60
Methodname
Gets the name of the `PyType`.
src/types/typeobject.rs:121
Methodname
(&self)
src/types/capsule.rs:569
Functionnames_in_defaults_and_values_are_imported
()
pyo3-introspection/src/stubs.rs:1355
Functionnative_exception_debug
()
src/exceptions.rs:1106
Functionnative_exception_display
()
src/exceptions.rs:1121
Methodne
(&self, other: O)
src/types/any.rs:1007
Methodneg
(&self)
src/types/any.rs:955
Methodneg
(self)
src/types/complex.rs:125
Functionnested_empty_tuples
()
pytests/src/pyfunctions.rs:8
Functionnested_packages_are_written_into_their_own_directory
()
pyo3-introspection/src/stubs.rs:1293
Methodnever_compiled_method
(&self)
tests/test_methods.rs:930
Methodnew
( interpreter_config: &InterpreterConfig, supported_version: PythonVersion, )
pyo3-build-config/src/lib.rs:242
Methodnew
(implementation: PythonImplementation, version: PythonVersion)
pyo3-build-config/src/impl_.rs:923
Methodnew
(attr: &Option<CrateAttribute>, signature: Option<&syn::Signature>)
pyo3-macros-backend/src/utils.rs:203
Methodnew
(slot: &'static str, func_ty: &'static str)
pyo3-macros-backend/src/pymethod.rs:1406
Methodnew
Construct a new enum representation. `data_enum` is the `syn` representation of the input enum, `ident` is the `Identifier` of the enum.
pyo3-macros-backend/src/frompyobject.rs:24
Methodnew
Fails if the variant has no fields or incompatible attributes.
pyo3-macros-backend/src/intopyobject.rs:77
Methodnew
()
pyo3-macros-backend/src/params.rs:17
Methodnew
(enum_: &'a mut syn::ItemEnum)
pyo3-macros-backend/src/pyclass.rs:558
Methodnew
Uses type inference of return value from a closure to sniff return type `T` without needing to ever call the function.
pyo3-ffi-check/src/main.rs:90
Methodnew
()
pytests/src/exception.rs:15
Methodnew
()
pytests/src/pyclasses.rs:19
Methodnew
()
pytests/src/objstore.rs:16
Methodnew
(value: i64)
pytests/src/comparisons.rs:11
Methodnew
()
pytests/src/othermod.rs:19
Methodnew
(expected: u32)
pytests/src/dict_iter.rs:17
Methodnew
()
pytests/src/subclassing.rs:17
Methodnew
(result: Py<PyAny>)
pytests/src/awaitable.rs:24
Methodnew
()
pytests/src/datetime.rs:187
Methodnew
()
pyo3-ffi/src/pybuffer.rs:31
Methodnew
()
pyo3-ffi/src/cpython/lock.rs:14
Methodnew
()
pyo3-ffi/src/cpython/object.rs:52
Methodnew
(storage: Storage)
pyo3-ffi/src/cpython/unicodeobject.rs:33
Methodnew
()
pyo3-ffi/examples/sequential/src/id.rs:20
Methodnew
()
pyo3-introspection/src/stubs.rs:640
Methodnew
(elements: Vec<i32>)
pyo3-benches/benches/bench_pyclass.rs:16
Methodnew
Creates a new `PyUnicodeWriter`.
src/fmt.rs:69
Methodnew
Wrap a future into a Python coroutine. Coroutine `send` polls the wrapped future, ignoring the value passed (should always be `None` anyway). `Corou
src/coroutine.rs:51
← previousnext →3,001–3,100 of 4,885, ranked by callers