Skip to content

Commit

Permalink
Add a return type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
HyukjinKwon committed Sep 18, 2019
1 parent ce97ce3 commit 9e635b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion databricks/koalas/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ def iteritems(self) -> Iterable:
cols = list(self.columns)
return list((col_name, self[col_name]) for col_name in cols)

def items(self):
def items(self) -> Iterable:
"""This is an alias of ``iteritems``."""
return self.iteritems()

Expand Down

0 comments on commit 9e635b6

Please sign in to comment.