Skip to content

Commit

Permalink
Merge pull request pyqt#15 from Rafale25/patch-1
Browse files Browse the repository at this point in the history
Fix missing parentheses
  • Loading branch information
mherrmann authored Aug 6, 2021
2 parents 7069034 + f56b941 commit 843bb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/14 QAbstractTableModel example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class TableModel(QAbstractTableModel):
return QVariant()
# What's the value of the cell at the given index?
return rows[index.row()][index.column()]
def headerData(self, section, orientation, role:
def headerData(self, section, orientation, role):
if role != Qt.DisplayRole or orientation != Qt.Horizontal:
return QVariant()
# What's the header for the given column?
Expand Down

0 comments on commit 843bb98

Please sign in to comment.