optparse.Values.__getattr__ like argparse.Namespace (#2228)
optparse.Values.__getattr__ like argparse.Namespace (#2228)

optparse.Values is like argparse.Namespace and also has a __getattr__() method to return the parsed options.
Apply commits 54b4983 and 9ae0c0b from python/typeshed#25
euresti/typeshed