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.
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