remove duplicate method (closes #19127)
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index f8ed232..c30e246 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -358,9 +358,6 @@
     def _get_localName(self):
         return self.nodeName.split(":", 1)[-1]
 
-    def _get_name(self):
-        return self.name
-
     def _get_specified(self):
         return self.specified