#! /usr/bin/python class httpClass: def httpheaders(): "return a list of HTTP protocol header strings" return ["Content-Type: text/html", "Server: myHTPP/1.0"] httpC = httpClass() print httpC.httpheaders() Error I get: rixth@bear:~$ python python.py Traceback (most recent call last): File "python.py", line 8, in ? print httpC.httpheaders() TypeError: httpheaders() takes no arguments (1 given) rixth@bear:~$ But the brackets are blank, so how is an argument being given?