|
From: <mi...@us...> - 2026-06-23 14:59:07
|
Revision: 10368
http://sourceforge.net/p/docutils/code/10368
Author: milde
Date: 2026-06-23 14:59:05 +0000 (Tue, 23 Jun 2026)
Log Message:
-----------
Postpone removal of `nodes.set_name_id_map()`
... as already announced in the RELEASE NOTES.
Modified Paths:
--------------
trunk/docutils/docutils/nodes.py
Modified: trunk/docutils/docutils/nodes.py
===================================================================
--- trunk/docutils/docutils/nodes.py 2026-06-22 12:04:21 UTC (rev 10367)
+++ trunk/docutils/docutils/nodes.py 2026-06-23 14:59:05 UTC (rev 10368)
@@ -2036,9 +2036,9 @@
msgnode: Element | None = None,
explicit: bool = False,
) -> None:
- """Deprecated. Will be removed in Docutils 1.0."""
+ """Deprecated. Will be removed in Docutils 2.0."""
warnings.warn('nodes.document.set_name_id_map() will be removed'
- ' in Docutils 1.0.', DeprecationWarning, stacklevel=2)
+ ' in Docutils 2.0.', DeprecationWarning, stacklevel=2)
self.note_names(node, msgnode, explicit)
for name in node['names']:
self.nameids[name] = id
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|