Allows AmpList arguments to be optional.

[email protected]
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from faldridge <None>:

Because AmpList overrides Argument.__init__(), but does not include the "optional" parameter in its argument list, AmpLists, unlike all other Amp Arguments, could not be designated as optional.

The attached patch simply adds this functionality to AmpList via its __init__ method.

The patch contains additional docstring information in AmpList.__init__() and passing unit tests.

----------
Type     : enhancement
Component: core
Keywords : review
Priority : highest
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3891
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.