Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __enable_bracketed_paste
Method
__enable_bracketed_paste
Lib/_pyrepl/unix_console.py:595–596 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
593
return
posix._inputhook
594
595
def
__enable_bracketed_paste(self) -> None:
596
os.write(self.output_fd, b
"\x1b[?2004h"
)
597
598
def
__disable_bracketed_paste(self) -> None:
599
os.write(self.output_fd, b
"\x1b[?2004l"
)
Callers
1
prepare
Method · 0.95
Calls
1
write
Method · 0.45
Tested by
no test coverage detected