MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

↓ 1 callersFunctionhandle_argument_error
(pat: &syn::Pat)
pyo3-macros-backend/src/method.rs:204
↓ 1 callersMethodhas_no_args
(&self)
pyo3-macros-backend/src/pyfunction/signature.rs:287
↓ 1 callersFunctionimpl_arg_param
( arg: &FnArg<'_>, pos: usize, option_pos: &mut usize, holders: &mut Holders, ctx: &Ctx, )
pyo3-macros-backend/src/params.rs:191
↓ 1 callersFunctionimpl_call_deleter
( cls: &syn::Type, spec: &FnSpec<'_>, self_type: &SelfType, holders: &mut Holders, ctx: &C
pyo3-macros-backend/src/pymethod.rs:1024
↓ 1 callersFunctionimpl_call_getter
( cls: &syn::Type, spec: &FnSpec<'_>, self_type: &SelfType, holders: &mut Holders, ctx: &C
pyo3-macros-backend/src/pymethod.rs:842
↓ 1 callersFunctionimpl_call_setter
( cls: &syn::Type, spec: &FnSpec<'_>, self_type: &SelfType, holders: &mut Holders, ctx: &C
pyo3-macros-backend/src/pymethod.rs:640
↓ 1 callersFunctionimpl_call_slot
(cls: &syn::Type, spec: &FnSpec<'_>, ctx: &Ctx)
pyo3-macros-backend/src/pymethod.rs:451
↓ 1 callersFunctionimpl_class
( cls: &Ident, args: &PyClassArgs, doc: Option<PythonDoc>, field_options: Vec<(&syn::Field, Fi
pyo3-macros-backend/src/pyclass.rs:459
↓ 1 callersFunctionimpl_clear_slot
(cls: &syn::Type, spec: &FnSpec<'_>, ctx: &Ctx)
pyo3-macros-backend/src/pymethod.rs:524
↓ 1 callersFunctionimpl_complex_enum
( complex_enum: PyClassComplexEnum<'_>, args: &PyClassArgs, doc: Option<PythonDoc>, methods_ty
pyo3-macros-backend/src/pyclass.rs:1198
↓ 1 callersFunctionimpl_complex_enum_struct_variant_cls
( enum_name: &syn::Ident, args: &PyClassArgs, variant: &PyClassEnumStructVariant<'_>, ctx: &Ct
pyo3-macros-backend/src/pyclass.rs:1447
↓ 1 callersFunctionimpl_complex_enum_tuple_variant_cls
( enum_name: &syn::Ident, args: &PyClassArgs, variant: &PyClassEnumTupleVariant<'_>, ctx: &Ctx
pyo3-macros-backend/src/pyclass.rs:1672
↓ 1 callersFunctionimpl_complex_enum_tuple_variant_field_getters
( ctx: &Ctx, variant: &PyClassEnumTupleVariant<'_>, enum_name: &syn::Ident, variant_cls_type:
pyo3-macros-backend/src/pyclass.rs:1531
↓ 1 callersFunctionimpl_complex_enum_tuple_variant_getitem
( ctx: &Ctx, variant_cls: &syn::Ident, variant_cls_type: &syn::Type, num_fields: usize, )
pyo3-macros-backend/src/pyclass.rs:1622
↓ 1 callersFunctionimpl_complex_enum_tuple_variant_len
( ctx: &Ctx, variant_cls_type: &syn::Type, num_fields: usize, )
pyo3-macros-backend/src/pyclass.rs:1591
↓ 1 callersFunctionimpl_complex_enum_variant_cls
( enum_name: &syn::Ident, args: &PyClassArgs, variant: &PyClassEnumVariant<'_>, ctx: &Ctx, )
pyo3-macros-backend/src/pyclass.rs:1379
↓ 1 callersFunctionimpl_enum
( enum_: PyClassEnum<'_>, args: &PyClassArgs, doc: Option<PythonDoc>, methods_type: PyClassMet
pyo3-macros-backend/src/pyclass.rs:994
↓ 1 callersFunctionimpl_methods
( ty: &syn::Type, impls: &mut [syn::ImplItem], methods_type: PyClassMethodsType, options: PyIm
pyo3-macros-backend/src/pyimpl.rs:118
↓ 1 callersFunctionimpl_py_deleter_def
( cls: &syn::Type, self_type: &SelfType, spec: &FnSpec<'_>, doc: Option<PythonDoc>, ctx: &
pyo3-macros-backend/src/pymethod.rs:981
↓ 1 callersFunctionimpl_py_methods
( ty: &syn::Type, methods: Vec<TokenStream>, proto_impls: Vec<TokenStream>, ctx: &Ctx, )
pyo3-macros-backend/src/pyimpl.rs:292
↓ 1 callersFunctionimpl_simple_enum
( simple_enum: PyClassSimpleEnum<'_>, args: &PyClassArgs, doc: Option<PythonDoc>, methods_type
pyo3-macros-backend/src/pyclass.rs:1015
↓ 1 callersFunctionimpl_traverse_slot
(cls: &syn::Type, spec: &FnSpec<'_>, ctx: &Ctx)
pyo3-macros-backend/src/pymethod.rs:476
↓ 1 callersFunctionimplement_py_formatting
( ty: &syn::Type, ctx: &Ctx, option: &StrFormatterAttribute, )
pyo3-macros-backend/src/pyclass.rs:932
↓ 1 callersMethodin_place_concat
(&self, other: &Bound<'_, PySequence>)
src/types/sequence.rs:198
↓ 1 callersMethodin_place_repeat
(&self, count: usize)
src/types/sequence.rs:207
↓ 1 callersFunctionin_protected
(start, end)
guide/glossary_linker.py:127
↓ 1 callersMethodincrement
(&self)
src/pycell/impl_.rs:67
↓ 1 callersMethodindex
(&self)
src/types/module.rs:445
↓ 1 callersMethodindex
(&self, value: V)
src/types/list.rs:418
↓ 1 callersFunctioninit
(m: &Bound<'_, PyModule>)
tests/test_declarative_module.rs:142
↓ 1 callersMethodinit
(&self, py: Python<'_>, f: F)
src/sync.rs:127
↓ 1 callersMethodinit
( self, cls: crate::Borrowed<'_, 'py, crate::types::PyType>, )
src/internal/pyclass_init.rs:158
↓ 1 callersFunctioninit_once_cell_py_attached
( cell: &'a once_cell::sync::OnceCell<T>, _py: Python<'_>, f: F, )
src/sync/once_lock.rs:173
↓ 1 callersFunctioninit_once_force_py_attached
(once: &std::sync::Once, _py: Python<'_>, f: F)
src/sync.rs:700
↓ 1 callersFunctioninit_once_lock_py_attached
( lock: &'a std::sync::OnceLock<T>, _py: Python<'_>, f: F, )
src/sync.rs:717
↓ 1 callersFunctioninit_once_py_attached
(once: &std::sync::Once, _py: Python<'_>, f: F)
src/sync.rs:682
↓ 1 callersMethodinitialize_future
( &self, py: Python<'py>, )
src/coroutine/waker.rs:28
↓ 1 callersFunctioninitialize_tp_dict
( py: Python<'_>, type_object: *mut ffi::PyObject, items: Vec<(&'static CStr, Py<PyAny>)>, )
src/impl_/pyclass/lazy_type_object.rs:249
↓ 1 callersFunctioninner
( py: Python<'_>, base: *mut ffi::PyTypeObject, tp_dealloc: ffi::destructor, t
src/pyclass/create_type_object.rs:53
↓ 1 callersMethodinput_type
(&self)
pyo3-macros-backend/src/frompyobject.rs:103
↓ 1 callersFunctionint_from_pylong_digits
(digits: &[u32])
src/conversions/num_bigint.rs:360
↓ 1 callersFunctionint_to_py_bytes
( long: &Bound<'py, PyInt>, n_bytes: usize, is_signed: bool, )
src/conversions/num_bigint.rs:495
↓ 1 callersFunctioninto_bigint
(bench: &mut Bencher<'_>, value: &BigInt)
pyo3-benches/benches/bench_bigint.rs:46
↓ 1 callersFunctioninto_biguint
(bench: &mut Bencher<'_>, value: &BigUint)
pyo3-benches/benches/bench_bigint.rs:52
↓ 1 callersFunctioninto_i128
(b: &mut Bencher<'_>, value: i128)
pyo3-benches/benches/bench_int128.rs:16
↓ 1 callersMethodinto_iter
(self)
src/types/list.rs:867
↓ 1 callersMethodinto_mapping
(self)
src/types/dict.rs:345
↓ 1 callersMethodinto_new_object
( self, py: Python<'_>, subtype: *mut PyTypeObject, )
src/pyclass_init.rs:227
↓ 1 callersMethodinto_pyclass_initializer
(self)
src/internal/pyclass_init.rs:187
↓ 1 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/indexmap.rs:114
↓ 1 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/either.rs:70
↓ 1 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/bigdecimal.rs:103
↓ 1 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/uuid.rs:113
↓ 1 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/bytes.rs:99
↓ 1 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/std/ipaddr.rs:48
↓ 1 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/std/set.rs:32
↓ 1 callersMethodinto_sequence
(self)
src/types/tuple.rs:283
↓ 1 callersMethodinto_sequence
Returns `self` cast as a `PySequence`.
src/types/list.rs:276
↓ 1 callersMethodinto_static
(self, pyo3_crate_path: &PyO3CratePath, ident: Ident)
pyo3-macros-backend/src/introspection.rs:601
↓ 1 callersMethodinto_super
(self)
src/instance.rs:751
↓ 1 callersMethodinto_typed
Returns a `[PyBuffer]` instance if the buffer can be interpreted as containing elements of type `T`.
src/buffer.rs:559
↓ 1 callersFunctioninto_u128
(b: &mut Bencher<'_>, value: u128)
pyo3-benches/benches/bench_int128.rs:10
↓ 1 callersFunctionintrospect_cdylib
Introspect a cdylib built with PyO3 and returns the definition of a Python module. This function currently supports the ELF (most *nix including Linu
pyo3-introspection/src/introspection.rs:23
↓ 1 callersFunctionintrospection_id_to_type_hint_for_root_module
Returns the type hint for each class introspection id defined in the module and its submodule
pyo3-introspection/src/introspection.rs:425
↓ 1 callersMethodis
(&self, o: U)
src/instance.rs:1773
↓ 1 callersMethodis_cancelled
Returns whether the associated coroutine has been cancelled.
src/coroutine/cancel.rs:27
↓ 1 callersFunctionis_cpython_lib_dir
(path: &str, v: &Option<PythonVersion>)
pyo3-build-config/src/impl_.rs:2239
↓ 1 callersFunctionis_extension_module
Checks if the `extension-module` feature is enabled for the PyO3 crate. This can be triggered either by: - The `extension-module` Cargo feature (depr
pyo3-build-config/src/impl_.rs:1657
↓ 1 callersFunctionis_graalpy_lib_dir
(path: &str, v: &Option<PythonVersion>)
pyo3-build-config/src/impl_.rs:2230
↓ 1 callersFunctionis_in_gc_traversal
keep code if not used to minimize refactoring friction
src/internal/state.rs:371
↓ 1 callersFunctionis_proto_method
(name: &str)
pyo3-macros-backend/src/pymethod.rs:278
↓ 1 callersMethodis_pypy
(self)
pyo3-build-config/src/impl_.rs:1555
↓ 1 callersFunctionis_pypy_lib_dir
(path: &str, v: &Option<PythonVersion>)
pyo3-build-config/src/impl_.rs:2221
↓ 1 callersFunctionis_python
Check if the given type `ty` is `pyo3::Python`.
pyo3-macros-backend/src/utils.rs:47
↓ 1 callersMethodis_returning_not_implemented_on_extraction_error
(&self)
pyo3-macros-backend/src/pymethod.rs:260
↓ 1 callersMethodis_subclass
Checks whether `self` is a subclass of `other`. Equivalent to the Python expression `issubclass(self, other)`.
src/types/typeobject.rs:200
↓ 1 callersFunctionis_suppressed
Check if this term is suppressed by a <!-- no-glossary:term --> on the same line.
guide/glossary_linker.py:133
↓ 1 callersMethoditems
(&self)
src/types/frozendict.rs:235
↓ 1 callersMethoditems
(&self)
src/types/mappingproxy.rs:109
↓ 1 callersMethoditems
(&self)
src/types/mapping.rs:184
↓ 1 callersMethoditer_borrowed
(&'a self)
src/types/tuple.rs:339
↓ 1 callersMethoditer_dict
(&mut self, _py: Python<'_>, dict: &Bound<'_, PyDict>)
pytests/src/dict_iter.rs:21
↓ 1 callersFunctioniter_next_output_type
The type hint of what `__next__` / `__anext__` yields, read off the same wrapper the slot uses to convert the returned value so that the stub and the
pyo3-macros-backend/src/py_expr.rs:341
↓ 1 callersFunctionk
()
src/conversions/anyhow.rs:161
↓ 1 callersFunctionk
()
src/conversions/eyre.rs:167
↓ 1 callersMethodkeys
(&self)
src/types/frozendict.rs:219
↓ 1 callersMethodkeys
(&self)
src/types/mappingproxy.rs:91
↓ 1 callersMethodkeys
(&self)
src/types/mapping.rs:166
↓ 1 callersMethodlast
(mut self)
src/types/tuple.rs:429
↓ 1 callersMethodlen
(&self)
src/types/any.rs:1242
↓ 1 callersMethodlen
(&self)
src/types/sequence.rs:168
↓ 1 callersMethodlen
(&self)
src/types/mapping.rs:122
↓ 1 callersMethodlen
(&self)
src/conversions/num_bigint.rs:124
↓ 1 callersFunctionlength_hint
(iter: &Bound<'_, PyIterator>)
src/types/iterator.rs:133
↓ 1 callersMethodlib_dir_path
Converts the stored `PYO3_CROSS_LIB_DIR` variable value (if any) into a `PathBuf` instance. Ensures that the path is a valid UTF-8 string.
pyo3-build-config/src/impl_.rs:1857
↓ 1 callersFunctionlib_name_is_known_for_raw_dylib
`raw-dylib` currently does not support arbitrary names (see https://internals.rust-lang.org/t/support-renames-with-link-name-kind-raw-dylib/24415) so
pyo3-ffi/build.rs:196
↓ 1 callersFunctionlink_terms_in_content
Replace occurrences of glossary terms with markdown links. If first_only is True (default), only the first occurrence of each term is linked.
guide/glossary_linker.py:84
↓ 1 callersFunctionload_cross_compile_config
Detects the cross compilation target interpreter configuration from all available sources (PyO3 environment variables, Python sysconfigdata, etc.). R
pyo3-build-config/src/impl_.rs:2442
↓ 1 callersFunctionloads
Deserialize an object from bytes using the Python built-in marshal module.
src/marshal.rs:47
↓ 1 callersMethodlocals
(&self)
src/types/frame.rs:182
← previousnext →1,101–1,200 of 4,885, ranked by callers