update con.py to fix autodoc for rtd