Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0cca7c1

Browse files
travellingsoldier85Carreau
authored andcommitted
chore: add return type hints to IPython/core/alias.py
1 parent 0bb317d commit 0cca7c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/core/alias.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def init_aliases(self):
219219
self.soft_define_alias(name, cmd)
220220

221221
@property
222-
def aliases(self):
222+
def aliases(self) -> list:
223223
return [(n, func.cmd) for (n, func) in self.linemagics.items()
224224
if isinstance(func, Alias)]
225225

0 commit comments

Comments
 (0)