Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ do
Method
do
Lib/_pyrepl/commands.py:383–385 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
381
382
class
insert_nl(EditCommand):
383
def
do(self) -> None:
384
r = self.reader
385
r.insert(
"\n"
* r.get_arg())
386
387
388
class
transpose_characters(EditCommand):
Callers
nothing calls this directly
Calls
2
get_arg
Method · 0.80
insert
Method · 0.45
Tested by
no test coverage detected