Replace the simpleminded string.find with a re.search looking only for
full words. Before that, something like 'PyObject_Call' was missed
because 'PyObject_CallFunction' was found.

Passes PyChecker now.
diff --git a/Doc/tools/undoc_symbols.py b/Doc/tools/undoc_symbols.py
index d7a9e5d..3528106 100644
--- a/Doc/tools/undoc_symbols.py
+++ b/Doc/tools/undoc_symbols.py
@@ -46,7 +46,7 @@
 # v variable definitions
 # x extern and forward variable declarations
 
-import os, glob, re, sys, tempfile
+import os, glob, re, sys
 
 def findnames(file, prefixes=()):
     names = {}
@@ -83,7 +83,7 @@
     names = dict.keys()
     names.sort()
     for name in names:
-        if docs.find(name) == -1:
+        if not re.search("%s\\W" % name, docs):
             print dict[name], name
 
 if __name__ == '__main__':