diff --git a/.hgignore b/.hgignore
index 9ea453581291efacd64f363e69f60393a53dad82..6a127062df23f9239334c770f907b7c70b690622 100644
--- a/.hgignore
+++ b/.hgignore
@@ -1,2 +1,3 @@
 syntax: glob
 tmp/*
+*.pyc