MCPcopy Create free account

hub / github.com/PyO3/pyo3 / functions

Functions4,885 in github.com/PyO3/pyo3

↓ 7 callersMethodassume_owned_or_opt
(self, py: Python<'_>)
src/ffi_ptr_ext.rs:53
↓ 7 callersMethodborrow_checker
(class_object: &T::Layout)
src/pycell/impl_.rs:196
↓ 7 callersMethodbuild_flags
Additional relevant Python build flags / configuration settings. Serialized to `build_flags`.
pyo3-build-config/src/impl_.rs:356
↓ 7 callersMethodclear
(mut self)
src/types/context.rs:116
↓ 7 callersMethodcontents
(&self)
src/pycell/impl_.rs:499
↓ 7 callersFunctiongen_complex_enum_variant_class_ident
(enum_: &Ident, variant: &Ident)
pyo3-macros-backend/src/pyclass.rs:1750
↓ 7 callersMethodget
(py: Python<'_>)
src/types/none.rs:18
↓ 7 callersMethodget
(&self)
src/sync/mutex.rs:65
↓ 7 callersMethodget_day
(&self)
src/types/datetime.rs:302
↓ 7 callersMethodget_item_unchecked
(&self, index: usize)
src/types/list.rs:297
↓ 7 callersMethodget_year
(&self)
src/types/datetime.rs:280
↓ 7 callersMethodinit_holders
(&self, ctx: &Ctx)
pyo3-macros-backend/src/params.rs:29
↓ 7 callersMethodinto_py_any
(self, py: Python<'py>)
src/conversion.rs:235
↓ 7 callersMethodinto_raw
(self)
src/impl_/pymethods.rs:234
↓ 7 callersMethodis
(&self, other: T)
src/types/any.rs:841
↓ 7 callersMethodis_completed
(&self)
src/platform/sync.rs:43
↓ 7 callersMethodis_free_threaded
(&self)
pyo3-build-config/src/impl_.rs:897
↓ 7 callersMethodis_truthy
(&self)
src/types/any.rs:1146
↓ 7 callersMethoditem_count
(&self)
src/buffer.rs:669
↓ 7 callersMethoditer
(&self)
src/types/tuple.rs:335
↓ 7 callersMethodkind
The ABI flavor Serialized to `kind`
pyo3-build-config/src/impl_.rs:1162
↓ 7 callersMethodlast
(mut self)
src/types/list.rs:631
↓ 7 callersMethodlock_py_attached
(&self, py: crate::prelude::Python<'_>)
src/platform/sync.rs:133
↓ 7 callersFunctionmake_example
(py: Python<'_>)
tests/test_proto_methods.rs:66
↓ 7 callersMethodname
(&self)
src/types/module.rs:461
↓ 7 callersMethodnormalized
(&self, py: Python<'_>)
src/err/mod.rs:654
↓ 7 callersMethodpop
Pops the first non empty item.
src/impl_/freelist.rs:59
↓ 7 callersFunctionpush_parameter_list
(msg: &mut String, parameter_names: &[&str])
src/impl_/extract_argument.rs:1092
↓ 7 callersMethodpython
(&self)
src/internal/state.rs:174
↓ 7 callersMethodto_tokens_spanned
(&self, span: Span)
pyo3-macros-backend/src/utils.rs:233
↓ 7 callersMethodto_vec
Copies the buffer elements to a newly allocated vector. If the buffer is multi-dimensional, the elements are written in C-style order. Fails if the b
src/buffer.rs:426
↓ 7 callersMethodto_writer
(&self, mut writer: impl Write)
pyo3-build-config/src/impl_.rs:822
↓ 7 callersMethodversion
Python `X.Y` version. e.g. `3.9`. Serialized to `version`.
pyo3-build-config/src/impl_.rs:288
↓ 7 callersMethodwith
(&'static self, f: F)
src/platform/thread/thread_local.rs:58
↓ 6 callersMethodall
(&mut self, mut f: F)
src/types/dict.rs:600
↓ 6 callersMethodany
Checks if any of the variables is set.
pyo3-build-config/src/impl_.rs:1805
↓ 6 callersMethodas_slice
(&self)
src/types/tuple.rs:312
↓ 6 callersFunctionassert_no_context_switches
(py: Python<'_>, count_before: usize)
src/types/context.rs:461
↓ 6 callersMethodassume_borrowed
(self, py: Python<'_>)
src/ffi_ptr_ext.rs:103
↓ 6 callersMethodborrow
(&self)
src/sync/mutex.rs:29
↓ 6 callersMethodcall_once
(&self, f: impl FnOnce())
src/platform/sync.rs:33
↓ 6 callersFunctionensure_datetime_api
(py: Python<'_>)
src/types/datetime.rs:36
↓ 6 callersMethodextract
(obj: Borrowed<'_, 'py, PyAny>)
src/conversions/std/array.rs:61
↓ 6 callersFunctionget_object
(py: Python<'_>)
src/internal/state.rs:414
↓ 6 callersFunctionget_type
(py: Python<'_>)
src/types/weakref/proxy.rs:238
↓ 6 callersMethodget_type
(self)
src/marker.rs:650
↓ 6 callersMethodhash
(&self)
src/types/any.rs:1234
↓ 6 callersMethodid
(&self)
src/platform/thread.rs:30
↓ 6 callersMethodinto_pyobject
(self, py: Python<'py>)
src/err/mod.rs:723
↓ 6 callersMethodkeys
(&self)
src/types/dict.rs:294
↓ 6 callersMethodlen
(&self)
src/types/tuple.rs:264
↓ 6 callersMethodmaybe_debug
(self, debug: bool)
pyo3-build-config/src/impl_.rs:952
↓ 6 callersMethodpointer_width
Width in bits of pointers on the target machine. Serialized to `pointer_width`.
pyo3-build-config/src/impl_.rs:349
↓ 6 callersMethodpush_holder
(&mut self, span: Span)
pyo3-macros-backend/src/params.rs:23
↓ 6 callersMethodreceiver
( &self, cls: &syn::Type, error_mode: ExtractErrorMode, self_conversion: SelfC
pyo3-macros-backend/src/method.rs:443
↓ 6 callersMethodrelease_borrow
(&self)
src/pycell/impl_.rs:133
↓ 6 callersMethodrepr
(&self)
src/types/any.rs:1218
↓ 6 callersMethodrich_compare
(&self, other: O, compare_op: CompareOp)
src/types/any.rs:943
↓ 6 callersFunctionseq_dict
Return a dict with `s = ByteSequence([1, 2, 3])`.
tests/test_sequence.rs:110
↓ 6 callersMethodspan
(&self)
pyo3-macros-backend/src/method.rs:1155
↓ 6 callersMethodtake_capture
Takes the captured unraisable error, if any.
tests/test_utils/mod.rs:170
↓ 6 callersFunctiontest_iterators
Runs `f` for each of `BoundTupleIterator` and `BorrowedTupleIterator`.
src/types/tuple.rs:1627
↓ 6 callersMethodtry_combine_syn_errors
(self)
pyo3-macros-backend/src/combine_errors.rs:12
↓ 5 callersFunctionPySlot_STATIC_DATA
(NAME: c_int, VALUE: *mut c_void)
pyo3-ffi/src/slots.rs:116
↓ 5 callersMethodas_bytes
(&self)
src/types/bytearray.rs:283
↓ 5 callersMethodas_class_object
(&self)
src/pyclass/guard.rs:120
↓ 5 callersMethodas_slice
(&'a self, _py: Python<'a>)
src/buffer.rs:256
↓ 5 callersMethodbuild_py_warning
(&self, ctx: &Ctx)
pyo3-macros-backend/src/pyfunction.rs:140
↓ 5 callersMethodcall_method
Calls a method on the object. This is equivalent to the Python expression `self.name(*args, **kwargs)`. To avoid repeated temporary allocations of P
src/instance.rs:1977
↓ 5 callersMethodcall_method
( &self, name: N, args: A, kwargs: Option<&Bound<'py, PyDict>>, )
src/types/any.rs:1102
↓ 5 callersMethodcall_method0
Calls a method on the object with no arguments. This is equivalent to the Python expression `self.name()`. To avoid repeated temporary allocations o
src/instance.rs:2017
↓ 5 callersMethodcall_once_force
(&self, f: impl FnOnce())
src/platform/sync.rs:38
↓ 5 callersMethodcause
Return the cause (either an exception instance, or None, set by `raise ... from ...`) associated with the exception, as accessible from Python through
src/err/mod.rs:586
↓ 5 callersFunctionconvert_expr
(expr: &ChunkExpr, type_hint_for_annotation_id: &HashMap<String, Expr>)
pyo3-introspection/src/introspection.rs:368
↓ 5 callersMethodcopy_from_slice
Copies the specified slice into the buffer. If the buffer is multi-dimensional, the elements in the slice are expected to be in C-style order. Fails
src/buffer.rs:470
↓ 5 callersFunctioncurrent
()
src/platform/thread.rs:14
↓ 5 callersFunctionfmt
Check formatting and lints.
noxfile.py:249
↓ 5 callersFunctiongenerate_protocol_slot
( cls: &syn::Type, method: &mut syn::ImplItemFn, slot: &SlotDef, name: &str, #[cfg(feature
pyo3-macros-backend/src/pyclass.rs:1820
↓ 5 callersMethodgenerate_type_slot
( &self, cls: &syn::Type, spec: &FnSpec<'_>, method_name: &str, ctx: &
pyo3-macros-backend/src/pymethod.rs:1497
↓ 5 callersFunctionget_class_python_name
(cls: &'a Ident, args: &'a PyClassArgs)
pyo3-macros-backend/src/pyclass.rs:422
↓ 5 callersMethodget_days
(&self)
src/types/datetime.rs:982
↓ 5 callersFunctionget_frame
(py: Python<'_>)
src/types/frame.rs:196
↓ 5 callersMethodget_item_unchecked
(&self, index: usize)
src/types/tuple.rs:303
↓ 5 callersMethodget_microseconds
(&self)
src/types/datetime.rs:1004
↓ 5 callersMethodget_month
(&self)
src/types/datetime.rs:291
↓ 5 callersMethodget_mut
Get the contents of the cell mutably. This is only possible if the reference to the cell is unique.
src/sync/once_lock.rs:85
↓ 5 callersMethodget_seconds
(&self)
src/types/datetime.rs:993
↓ 5 callersMethodget_slot
(&self, slot: Slot<S>)
src/internal/get_slot.rs:12
↓ 5 callersFunctionget_type
(py: Python<'_>)
src/types/weakref/reference.rs:231
↓ 5 callersMethodget_tzinfo
(&self)
src/types/datetime.rs:562
↓ 5 callersFunctioninitialize
()
src/interpreter_lifecycle.rs:12
↓ 5 callersMethodinto_py_string
(mut self)
src/fmt.rs:88
↓ 5 callersMethodinto_pyobject
(self, _py: Python<'py>)
src/conversion.rs:123
↓ 5 callersMethodinto_pyobject
(self, py: Python<'py>)
src/conversions/std/string.rs:22
↓ 5 callersMethodinto_value
Consumes self to take ownership of the exception value contained in this error.
src/err/mod.rs:238
↓ 5 callersMethoditems
(&self)
src/types/dict.rs:310
↓ 5 callersMethodlen
(&self)
src/types/bytearray.rs:270
↓ 5 callersMethodpush_slot
# Safety The given pointer must be valid for the given slot
src/pyclass/create_type_object.rs:155
↓ 5 callersMethodpush_value
(mut self, value: ffi::PySlot)
src/impl_/pymodule.rs:447
↓ 5 callersMethodpython_framework_prefix
macOS Python3.framework prefix used for special rpath handling.
pyo3-build-config/src/impl_.rs:373
← previousnext →201–300 of 4,885, ranked by callers