Skip to content

Commit

Permalink
missing parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafale25 authored Aug 5, 2021
1 parent 7069034 commit f56b941
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 f56b941

Please sign in to comment.