Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 602c4d9 commit aa07b62Copy full SHA for aa07b62
1 file changed
python_docs_theme/static/copybutton.js
@@ -16,7 +16,7 @@ function getCopyableText(rootElement) {
16
}
17
// Remove all elements with the "go" (Generic.Output),
18
// "gp" (Generic.Prompt), or "gt" (Generic.Traceback) CSS class
19
- const elements = rootElement.querySelectorAll(".gp, .go, .gt")
+ const elements = rootElement.querySelectorAll(".gp, .go, .gt, .linenos")
20
for (const el of elements) {
21
el.remove()
22
0 commit comments