summaryrefslogtreecommitdiff
path: root/sphinx/domains/python.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/domains/python.py')
-rw-r--r--sphinx/domains/python.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/sphinx/domains/python.py b/sphinx/domains/python.py
index edd4e829f..2fdd79e86 100644
--- a/sphinx/domains/python.py
+++ b/sphinx/domains/python.py
@@ -1064,16 +1064,6 @@ class PyModule(SphinxDirective):
ret.extend(content_node.children)
return ret
- def make_old_id(self, name: str) -> str:
- """Generate old styled node_id.
-
- Old styled node_id is incompatible with docutils' node_id.
- It can contain dots and hyphens.
-
- .. note:: Old styled node_id was mainly used until Sphinx-3.0.
- """
- return 'module-%s' % name
-
class PyCurrentModule(SphinxDirective):
"""