Procs
func pyasciiImpl(us: string): string {....raises: [], tags: [], forbids: [].}
-
Python's ascii impl
Note this assumes us is already processed by repr i.e., this only escape the non-ASCII characters in us using x, u, or U escapes and doesn't touch ASCII characters.
Source Edit