View Single Post
Old 01-18-2011, 03:45 PM   #1
bcollier
Member
bcollier began at the beginning.
 
bcollier's Avatar
 
Posts: 22
Karma: 10
Join Date: Jan 2011
Device: Kindle DX
<method> takes exactly 1 argument (2 given) python question

I've gotten this same error, seemingly for no reason, and Googling around doesn't seem to help. Maybe someone else here has come across it. I'm calling it with 1 argument, and it has 1 argument. I know I've had this problem other places to. Any thoughts?

Type:Error: parse_bits_blog() takes exactly 1 argument (2 given)

if self.include_bits_blog:
self.parse_bits_blog(self)

def parse_bits_blog(self):
bits_soup = self.index_to_soup('http://bits.blogs.nytimes.com/2011/01/13/')
self.log(str(bits_soup))
bcollier is offline   Reply With Quote