<s> import re <EOL> from epydoc import docstringparser as dsp <EOL> CYTHON_SIGNATURE_RE = re . compile ( <EOL> r'<STR_LIT>' + <EOL> r'<STR_LIT>' + <EOL> r'<STR_LIT>' + <EOL> r'<STR_LIT>' + <EOL> r'<STR_LIT>' ) <EOL> parse_signature = dsp . parse_function_signature <EOL> def parse_function_signature ( func_doc , doc_source , <EOL> docformat , parse_errors ) : <EOL> PYTHON_SIGNATURE_RE = dsp . _SIGNATURE_RE <EOL> assert PYTHON_SIGNATURE_RE is not CYTHON_SIGNATURE_RE <EOL> try : <EOL> dsp . _SIGNATURE_RE = CYTHON_SIGNATURE_RE <EOL> found = parse_signature ( func_doc , doc_source , <EOL> docformat , parse_errors ) <EOL> dsp . _SIGNATURE_RE = PYTHON_SIGNATURE_RE <EOL> if not found : <EOL> found = parse_signature ( func_doc , doc_source , <EOL> docformat , parse_errors ) <EOL> return found <EOL> finally : <EOL> dsp . _SIGNATURE_RE = PYTHON_SIGNATURE_RE <EOL> dsp . parse_function_signature = parse_function_signature <EOL> from epydoc . cli import cli <EOL> cli ( ) </s>
