mercurial/fancyopts.py
changeset 43474 70d42e2ad9b4
parent 43077 687b865b95ad
child 44452 9d2b2df2c2ba
equal deleted inserted replaced
43473:14e374d4c9ee 43474:70d42e2ad9b4
   203 
   203 
   204     parsedargs.extend(args[pos:])
   204     parsedargs.extend(args[pos:])
   205     return parsedopts, parsedargs
   205     return parsedopts, parsedargs
   206 
   206 
   207 
   207 
   208 class customopt(object):
   208 class customopt(object):  # pytype: disable=ignored-metaclass
   209     """Manage defaults and mutations for any type of opt."""
   209     """Manage defaults and mutations for any type of opt."""
   210 
   210 
   211     __metaclass__ = abc.ABCMeta
   211     __metaclass__ = abc.ABCMeta
   212 
   212 
   213     def __init__(self, defaultvalue):
   213     def __init__(self, defaultvalue):