Docs: fix some wrong words (GH-6987)

Fix typos in code comments: bdb.py and configure.ac.
diff --git a/Lib/bdb.py b/Lib/bdb.py
index c6a1035..880ff5d 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -257,7 +257,7 @@
         pass
 
     def user_line(self, frame):
-        """Called when when we stop or break at a line."""
+        """Called when we stop or break at a line."""
         pass
 
     def user_return(self, frame, return_value):
diff --git a/configure.ac b/configure.ac
index 872a829..189273d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,7 +153,7 @@
 [
 	case $enableval in
 	yes)
-		# Locate the best usable SDK, see Mac/README.txt for more
+		# Locate the best usable SDK, see Mac/README for more
 		# information
 		enableval="`/usr/bin/xcodebuild -version -sdk macosx Path 2>/dev/null`"
 		if ! ( echo $enableval | grep -E '\.sdk' 1>/dev/null )
@@ -572,7 +572,7 @@
 if test "$ac_sys_system" = "Darwin"
 then
 	# Compiler selection on MacOSX is more complicated than
-	# AC_PROG_CC can handle, see Mac/README.txt for more
+	# AC_PROG_CC can handle, see Mac/README for more
 	# information
 	if test -z "${CC}"
 	then