def get(self, subset=None):
if subset is None:<EOL><INDENT>return dict((name, attr.get(copy=True)) for name, attr in self._fields.items())<EOL><DEDENT>else:<EOL><INDENT>return dict((name, attr.get(copy=True)) for name, attr in self._fields.items() if name in subset)<EOL><DEDENT>
Return a dictionary object with the registered fields and their values

           Optional rgument:
            | ``subset``  --  a list of names to restrict the number of fields
                              in the result