[issue44438] argparser documentation error

2021-06-16 Thread Arman Sargsyan
Arman Sargsyan added the comment: I have signed the CLA -- ___ Python tracker <https://bugs.python.org/issue44438> ___ ___ Python-bugs-list mailing list Unsub

[issue44438] argparser documentation error

2021-06-16 Thread Arman Sargsyan
New submission from Arman Sargsyan : URL - https://docs.python.org/3/howto/argparse.html The following code will return a type error: import argparse parser = argparse.ArgumentParser() parser.add_argument("square", help="display a square of a given number") args = parse

[issue9577] html parser bug related with CDATA sections

2010-08-12 Thread Arman
New submission from Arman arman.hunan...@gmail.com: When HTMLParser reaches CDATA element it enters cdata mode by calling set_cdata_mode (file html/parser.py line 270). this method assigns self.interesting member new value r'(/|\Z)'. But this is not correct. Consider following case script