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

Method ljust

crates/vm/src/bytes_inner.rs:525–531  ·  view source on GitHub ↗
(
        &self,
        options: ByteInnerPaddingOptions,
        vm: &VirtualMachine,
    )

Source from the content-addressed store, hash-verified

523 }
524
525 pub fn ljust(
526 &self,
527 options: ByteInnerPaddingOptions,
528 vm: &VirtualMachine,
529 ) -> PyResult<Vec<u8>> {
530 self._pad(options, AnyStr::py_ljust, vm)
531 }
532
533 pub fn rjust(
534 &self,

Callers 3

builtin_str.pyFile · 0.45
builtin_bytes.pyFile · 0.45

Calls 1

_padMethod · 0.45

Tested by

no test coverage detected