2011/2/25 Merlijn van Deen <[email protected]> > Of course, the > >>> 'a' if append else 'w' > > is nicer, but has only been supported for python 2.5+. > Yet another variant: *pywikibot.iif(append,'a','w')*
I have just found this function in wikipedia.py. :-)
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
