http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10075
Revision: 10075 Author: xqt Date: 2012-04-01 14:02:18 +0000 (Sun, 01 Apr 2012) Log Message: ----------- enable unicode characters for endcode argument; follow-up for r10062
Modified Paths: -------------- trunk/pywikipedia/featured.py
Modified: trunk/pywikipedia/featured.py =================================================================== --- trunk/pywikipedia/featured.py 2012-04-01 11:38:34 UTC (rev 10074) +++ trunk/pywikipedia/featured.py 2012-04-01 14:02:18 UTC (rev 10075) @@ -64,7 +64,7 @@ for article in cat.articles(endsort=hide): yield article if hide: - for article in cat.articles(startFrom=chr(ord(hide)+1)): + for article in cat.articles(startFrom=unichr(ord(hide)+1)): yield article
def BACK(site, name, hide):
pywikipedia-svn@lists.wikimedia.org