Next / Previous / Contents / TCC Help System / NM Tech homepage

51.17. PageGet.__init__(): Constructor

The constructor just saves its arguments.

pageget.py
# - - -   P a g e G e t . _ _ i n i t _ _   - - -

    def __init__ ( self, accessor, username, when, command, url, status ):
        """Constructor for PageGet"""
        self.accessor   =  accessor
        self.username   =  username
        self.when       =  when
        self.command    =  command
        self.url        =  url
        self.status     =  status