Re: howto resend args and kwargs to other func?



dmitrey <openopt@xxxxxxx> wrote:

On Jul 1, 12:00 pm, Duncan Booth <duncan.bo...@xxxxxxxxxxxxxxx> wrote:

You 'need something like this', so write something like that.
Did you intend to ask a question?

I would gladly write the one, but the example doesn't work, and I
don't know any easy way (moreover any way) to make it work correctly.
D.

The example doesn't work because it isn't a real example (what are
some_cond or some_other_args?). An identical example which runs but doesn't
give the output you expect would be more meaningful.

If you actually wrote a runnable example, and explained what about it you
think doesn't work, then I could probably tell you how to fix it without
having to engage my telepathy.

The only thing I can see wrong with your made-up example is that you may
have intended a * before some_other_args, but since it isn't a real example
it is probably just a typo rather than being your question.
.



Relevant Pages

  • Re: A Question From An Outsider
    ... "rank amateurs" violated your privacy by going to that page of your public web site without your prior, express, written consent to do so. ... That's a clear typo on my part that crept in during the transfer of the text ... read, in fact, "Did he dare risk a cell phone call?" ... I intend letting it ...
    (rec.arts.mystery)
  • Re: An altercation with Harlan Ellison
    ... I intend to steal it. ... Typo, but as you note, perhaps ironically more on-target than what was ... >> seem to be the sort of stupid questions that fans ask over and over ... I told him that I was calling from work, and he said "Oh, ...
    (rec.arts.sf.written)
  • Re: "no variable or argument declarations are necessary."
    ... variable used in an enclosing context when you don't intend to, or inadvertently reference a new variable when you intended to reference an existing variable. ... NameError exception is thrown.. ... Typos in variable names are easily discovered unless the typo happens to exist in the current context. ...
    (comp.lang.python)
  • Re: This one needs a (booby) prize named after it
    ... Bill, I am so very sorry that I dared to riff on your typo. ... intend to insult or harm you in any way. ...
    (rec.bicycles.tech)
  • Re: On-topicness
    ... Remove the 'v' in void and I'd still call it a C program. ... typo. ... You run into the same problem of defining what ... is a C program because I intend to see how well it fits the ISO C ...
    (comp.lang.c)