{"action":"closed","issue":{"url":"https://api.github.com/repos/ThomasWaldmann/argparse/issues/93","labels_url":"https://api.github.com/repos/ThomasWaldmann/argparse/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/ThomasWaldmann/argparse/issues/93/comments","events_url":"https://api.github.com/repos/ThomasWaldmann/argparse/issues/93/events","html_url":"https://github.com/ThomasWaldmann/argparse/issues/93","id":111379695,"number":93,"title":"Is \" if option_string.startswith(option_prefix): \" a special design in _get_option_tuples()?","user":{"login":"dongdxf","id":1113389,"avatar_url":"https://avatars.githubusercontent.com/u/1113389?v=3","gravatar_id":"","url":"https://api.github.com/users/dongdxf","html_url":"https://github.com/dongdxf","followers_url":"https://api.github.com/users/dongdxf/followers","following_url":"https://api.github.com/users/dongdxf/following{/other_user}","gists_url":"https://api.github.com/users/dongdxf/gists{/gist_id}","starred_url":"https://api.github.com/users/dongdxf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongdxf/subscriptions","organizations_url":"https://api.github.com/users/dongdxf/orgs","repos_url":"https://api.github.com/users/dongdxf/repos","events_url":"https://api.github.com/users/dongdxf/events{/privacy}","received_events_url":"https://api.github.com/users/dongdxf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-14T11:34:23Z","updated_at":"2015-10-15T22:40:15Z","closed_at":"2015-10-15T22:40:15Z","body":"the help of my script is:\r\ntest.py config {--list | --list-all}\r\n--list       list configurations from a specified file\r\n--list-all  list all effective configurations\r\n\r\n\" test.py config --list \" is ok.\r\nbut,\r\n\" test.py config --list- \",\r\n\" test.py config --list-a \",\r\n\" test.py config --list-al \",\r\n\" test.py config --list-all \",\r\nthey are all equivalent.\r\n\r\ni debuged it using pdb, and got:\r\n\" if option_string.startswith(option_prefix): \" in _get_option_tuples().\r\n\r\nis this a special design？\r\n\r\nthanks."}}