Skip to content

Commit ca43456

Browse files
committed
Replace effbot.org links
effbot.org was the old site for ElementTree from before it was added to the Python standard library. We now link to the standard library which is up-to-date and avoid bad links to a third-party site which is currently down.
1 parent 5a7bbaf commit ca43456

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/extensions/api.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,8 @@ def set_link_class(self, element):
551551
set_link_class(child) # run recursively on children
552552
```
553553

554-
For more information about working with ElementTree see the ElementTree
555-
[Documentation](https://effbot.org/zone/element-index.htm) ([Python
556-
Docs](https://docs.python.org/3/library/xml.etree.elementtree.html)).
554+
For more information about working with ElementTree see the [ElementTree
555+
Documentation][ElementTree].
557556

558557
## Integrating Your Code Into Markdown {: #integrating_into_markdown }
559558

@@ -858,7 +857,7 @@ assert someitem in registry
858857
[registerExtension]: #registerextension
859858
[Config Settings]: #configsettings
860859
[makeExtension]: #makeextension
861-
[ElementTree]: https://effbot.org/zone/element-index.htm
860+
[ElementTree]: https://docs.python.org/3/library/xml.etree.elementtree.html
862861
[Available Extensions]: index.md
863862
[Footnotes]: https://github.com/Python-Markdown/markdown/blob/master/markdown/extensions/footnotes.py
864863
[Definition Lists]: https://github.com/Python-Markdown/markdown/blob/master/markdown/extensions/definition_lists

0 commit comments

Comments
 (0)