Replace backticks with repr() or "%r"

From SF patch #852334.
diff --git a/Lib/xml/dom/minidom.py b/Lib/xml/dom/minidom.py
index a5ebe5f..f17578b 100644
--- a/Lib/xml/dom/minidom.py
+++ b/Lib/xml/dom/minidom.py
@@ -622,9 +622,9 @@
 
     def __repr__(self):
         if self.namespace:
-            return "<TypeInfo %s (from %s)>" % (`self.name`, `self.namespace`)
+            return "<TypeInfo %r (from %r)>" % (self.name, self.namespace)
         else:
-            return "<TypeInfo %s>" % `self.name`
+            return "<TypeInfo %r>" % self.name
 
     def _get_name(self):
         return self.name