Skip to content

Commit 7e96492

Browse files
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 8db41b9 commit 7e96492

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ wave
15331533
xml
15341534
---
15351535

1536-
* Add the :func:`~xml.sax.saxutils.is_valid_name` function, which allows to check
1536+
* Add the :func:`xml.is_valid_name` function, which allows to check
15371537
whether a string can be used as an element or attribute name in XML.
15381538
(Contributed by Serhiy Storchaka in :gh:`139489`.)
15391539

Lib/xml/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import re
1+
lazy import re
22

33

44
def is_valid_name(name):

0 commit comments

Comments
 (0)