Re: assert expressions

2012-07-24 Thread Wanderer
On Jul 24, 5:22 pm, Ian Kelly wrote: > On Tue, Jul 24, 2012 at 2:44 PM, Wanderer wrote: > > I'm using getopt but not at that point. I really don't have a problem. > > I'm just curious. I've never seen anything else after > > assert False, > > > Here is some code. > > It doesn't matter what you pu

Re: assert expressions

2012-07-24 Thread Ian Kelly
On Tue, Jul 24, 2012 at 2:44 PM, Wanderer wrote: > I'm using getopt but not at that point. I really don't have a problem. > I'm just curious. I've never seen anything else after > assert False, > > Here is some code. It doesn't matter what you put after the assert False, because that line is not

Re: assert expressions

2012-07-24 Thread Wanderer
On Jul 24, 4:31 pm, Ian Kelly wrote: > On Tue, Jul 24, 2012 at 1:57 PM, Wanderer wrote: > > If I use the code > > > assert False, "unhandled option" > > > I get output like: > > > option -q not recognized > > for help use --help > > > What other expressions can I use other than "unhandled option"

Re: assert expressions

2012-07-24 Thread Wanderer
On Jul 24, 4:47 pm, Wanderer wrote: > On Jul 24, 4:31 pm, Ian Kelly wrote: > > > > > > > > > > > On Tue, Jul 24, 2012 at 1:57 PM, Wanderer wrote: > > > If I use the code > > > > assert False, "unhandled option" > > > > I get output like: > > > > option -q not recognized > > > for help use --help

Re: assert expressions

2012-07-24 Thread Wanderer
On Jul 24, 4:31 pm, Ian Kelly wrote: > On Tue, Jul 24, 2012 at 1:57 PM, Wanderer wrote: > > If I use the code > > > assert False, "unhandled option" > > > I get output like: > > > option -q not recognized > > for help use --help > > > What other expressions can I use other than "unhandled option"

Re: assert expressions

2012-07-24 Thread Ian Kelly
On Tue, Jul 24, 2012 at 1:57 PM, Wanderer wrote: > If I use the code > > assert False, "unhandled option" > > I get output like: > > option -q not recognized > for help use --help > > What other expressions can I use other than "unhandled option"? Is there a > list somewhere? Are you using argpa

assert expressions

2012-07-24 Thread Wanderer
If I use the code assert False, "unhandled option" I get output like: option -q not recognized for help use --help What other expressions can I use other than "unhandled option"? Is there a list somewhere? Thanks -- http://mail.python.org/mailman/listinfo/python-list