Rename xxx_todo_changeme tuples

This commit is contained in:
Flaviu Tamas 2018-09-04 19:36:41 -04:00 committed by Kovid Goyal
parent c011243859
commit 8285481221
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 4 deletions

View File

@ -38,8 +38,8 @@ class pravo(BasicNewsRecipe):
articles.append(self.parse_page(feed)) articles.append(self.parse_page(feed))
return articles return articles
def parse_page(self, xxx_todo_changeme): def parse_page(self, title_and_url):
(feed_title, url) = xxx_todo_changeme (feed_title, url) = title_and_url
articles = [] articles = []
soup = self.index_to_soup(url) soup = self.index_to_soup(url)

View File

@ -174,8 +174,8 @@ class Block(object):
def fget(self): def fget(self):
return self._position return self._position
def fset(self, xxx_todo_changeme): def fset(self, new_pos):
(x, y) = xxx_todo_changeme (x, y) = new_pos
self._position = Point(x, y) self._position = Point(x, y)
if self.layouts: if self.layouts:
self.layouts[0].setPosition(QPointF(x, y)) self.layouts[0].setPosition(QPointF(x, y))