src/pylib/pybytes/bytesbltins

Search:
Group by:
Source   Edit  

Procs

proc ord(a: PyBytes): int {....raises: [TypeError], tags: [], forbids: [].}
Raises TypeError if len(a) is not 1. Source   Edit  
func repr(x: PyBytes): string {....raises: [], tags: [], forbids: [].}

Overwites system.repr for PyBytes

minics Python's

Source   Edit  
func reversed(s: PyBytes): PyBytes {....raises: [], tags: [], forbids: [].}
Source   Edit