summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/pydoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pydoc.py b/Lib/pydoc.py
index 5b27a09..bb702b3 100755
--- a/Lib/pydoc.py
+++ b/Lib/pydoc.py
@@ -441,7 +441,7 @@ TT { font-family: lucidatypewriter, lucida console, courier }
pattern = re.compile(r'\b((http|ftp)://\S+[\w/]|'
r'RFC[- ]?(\d+)|'
r'PEP[- ]?(\d+)|'
- r'(self\.)?(\w+))\b')
+ r'(self\.)?(\w+))')
while 1:
match = pattern.search(text, here)
if not match: break