Commit 2d9211a1 authored by Denis Bilenko's avatar Denis Bilenko

doc/generate_rst.py: silent useless warnings

parent b030bb18
......@@ -25,6 +25,8 @@ modules = glob.glob(join(directory, '*.py')) + glob.glob(join(directory, '*.pyc'
modules = set(basename(filename).split('.')[0] for filename in modules)
modules = set(name for name in modules if not name.startswith('_'))
import warnings
warnings.simplefilter('ignore', DeprecationWarning)
def generate_rst_for_module(module, do=True):
rst_filename = 'gevent.%s.rst' % module
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment