8000
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 14e4606 commit d0eaa5eCopy full SHA for d0eaa5e
python_docs_theme/static/copybutton.js
@@ -8,7 +8,7 @@ function getCopyableText(rootElement) {
8
for (const el of tracebacks) {
9
while (
10
el.nextSibling &&
11
- (el.nextSibling.nodeType !== Node.DOCUMENT_NODE ||
+ (el.nextSibling.nodeType !== Node.ELEMENT_NODE ||
12
!el.nextSibling.matches(".gp, .go"))
13
) {
14
el.nextSibling.remove()
0 commit comments