diff --git a/.gitignore b/.gitignore
index 63e57bd2a5e71dfbcdedb6063d05595c6acd82da..7390ab1c1e3d3e15ec2b3b363f4f0f63f708d658 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,6 +47,9 @@ Makefile.local
 .clang_complete
 # YouCompleteMe (https://github.com/Valloric/YouCompleteMe)
 .ycm_extra_conf.py
-.ycm_extra_conf.pyc
-__pycache__
+
+# Python compiled files
+*.pyc
+
+# Ignore download cache
 .dlcache