Commits

Anonymous committed 5ade7ed

Include an example for the filter function in `__doc__`.

Comments (0)

Files changed (1)

flickzeug/leakfinder/leak.py

         from flickzeug.leakfinder.leak import LeakFinder
         app = LeakFinder(app)
 
+    To only count("leak find") your own package code::
+
+        from flickzeug.leakfinder.leak import LeakFinder
+        app = LeakFinder(app, filter=lambda v: not v.startswith("myproj."))
+
     :copyright: (c) 2009 by the Flickzeug Team, see AUTHORS for more details.
     :license: BSD, see LICENSE for more details.
 """