MCPcopy Index your code
hub / github.com/python/cpython / __move_y_cuu_cud

Method __move_y_cuu_cud

Lib/_pyrepl/unix_console.py:743–748  ·  view source on GitHub ↗
(self, y)

Source from the content-addressed store, hash-verified

741 self.__write_code((-dy) * self._cuu1)
742
743 def __move_y_cuu_cud(self, y):
744 dy = y - self.posxy[1]
745 if dy > 0:
746 self.__write_code(self._cud, dy)
747 elif dy < 0:
748 self.__write_code(self._cuu, -dy)
749
750 def __move_x_hpa(self, x: int) -> None:
751 if x != self.posxy[0]:

Callers

nothing calls this directly

Calls 1

__write_codeMethod · 0.95

Tested by

no test coverage detected