Arfrever Frehtes Taifersar Arahesis added the comment: I guess that there is argparse module in current directory, which overrides argparse module from standard library. Use e.g. print(argparse) or print(argparse.__file__) to find it. A correct location would be something like /usr/lib64/python2.7/argparse.pyc.
---------- nosy: +Arfrever _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20840> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com