Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3823
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Argument count mismatch |
| Date | 2011-04-21 20:33 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <ioq4bf$m2o$1@reader1.panix.com> (permalink) |
| References | <ac20c08e-6957-4836-9319-e668a8da8112@q30g2000vbs.googlegroups.com> |
In <ac20c08e-6957-4836-9319-e668a8da8112@q30g2000vbs.googlegroups.com> RVince <rvince99@gmail.com> writes:
> def cmseditorlinemethod(self, ssn):
> c.details =
> Session.query(MSPResponse).filter(MSPResponse.beneficiaryssn ==
> ssn).all()
> content = render('/cmseditorline.mako')
> return content
Is cmseditorlinemethod() a member of a class? The presence of the "self"
parameter suggests that it is, but your code omits this detail.
--
John Gordon A is for Amy, who fell down the stairs
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Argument count mismatch RVince <rvince99@gmail.com> - 2011-04-21 12:33 -0700
Re: Argument count mismatch Wolfgang Rohdewald <wolfgang@rohdewald.de> - 2011-04-21 21:43 +0200
Re: Argument count mismatch Chris Angelico <rosuav@gmail.com> - 2011-04-22 06:15 +1000
Re: Argument count mismatch John Gordon <gordon@panix.com> - 2011-04-21 20:33 +0000
Re: Argument count mismatch Westley MartÃnez <anikom15@gmail.com> - 2011-04-21 15:41 -0700
Re: Argument count mismatch Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-04-22 01:43 +0000
Re: Argument count mismatch Daniel Kluev <dan.kluev@gmail.com> - 2011-04-22 21:19 +1100
csiph-web