Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyQt5/PyQtClient
/ renderCode
Method
renderCode
Widgets/MainWindow.py:89–93 ·
view source on GitHub ↗
显示代码
(self, code)
Source
from the content-addressed store, hash-verified
87
88
@pyqtSlot(str)
89
def
renderCode(self, code):
90
""
"显示代码
91
""
"
92
content = repr(code)
93
self._runJs(
"updateCode({});"
.format(content))
94
95
@pyqtSlot(str)
96
def
renderReadme(self, path=
''
):
Callers
nothing calls this directly
Calls
1
_runJs
Method · 0.95
Tested by
no test coverage detected