MCPcopy Index your code
hub / github.com/bpython/bpython / print_padded

Method print_padded

doc/sphinx/source/simplerepl.py:83–84  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

81 arr[cpos[0] : cpos[0] + 1, cpos[1] : cpos[1] + 1] = ["~"]
82
83 def print_padded(s):
84 return self.out(s.center(self.width + 8, "X"))
85
86 print_padded("")
87 print_padded(' enter -> "/", rewind -> "\\", ')

Callers

nothing calls this directly

Calls 1

outMethod · 0.95

Tested by

no test coverage detected