MCPcopy Index your code
hub / github.com/RustPython/RustPython / flags

Function flags

crates/stdlib/src/multiprocessing.rs:368–371  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

366
367 #[pyattr]
368 fn flags(vm: &VirtualMachine) -> PyRef<PyDict> {
369 // On Windows, no HAVE_SEM_OPEN / HAVE_SEM_TIMEDWAIT / HAVE_BROKEN_SEM_GETVALUE
370 vm.ctx.new_dict()
371 }
372
373 #[pyfunction]
374 fn closesocket(socket: usize, vm: &VirtualMachine) -> PyResult<()> {

Callers

nothing calls this directly

Calls 4

new_dictMethod · 0.80
unwrapMethod · 0.45
set_itemMethod · 0.45
new_intMethod · 0.45

Tested by

no test coverage detected