Patch# 1258 by Christian Heimes: kill basestring.
I like this because it makes the code shorter! :-)
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 97c2998..d0608d7 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -313,7 +313,7 @@
         doc = object.__doc__
     except AttributeError:
         return None
-    if not isinstance(doc, basestring):
+    if not isinstance(doc, str):
         return None
     try:
         lines = doc.expandtabs().split('\n')