diff --git a/bin/ansible-doc b/bin/ansible-doc index d949c8e5376..d5143f33a15 100755 --- a/bin/ansible-doc +++ b/bin/ansible-doc @@ -33,7 +33,7 @@ import traceback MODULEDIR = C.DEFAULT_MODULE_PATH -BLACKLIST_EXTS = ('.swp', '.bak', '~', '.rpm') +BLACKLIST_EXTS = ('.pyc', '.swp', '.bak', '~', '.rpm') _ITALIC = re.compile(r"I\(([^)]+)\)") _BOLD = re.compile(r"B\(([^)]+)\)")