Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Improve typing
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Jan 3, 2022
1 parent 11b45bd commit a7b1e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def is_package_installed(package, exclude_pip=True):
return any(p == package for p in installed_packages(exclude_pip))


def is_package_installed_and_updated(package: str):
def is_package_installed_and_updated(package: str) -> bool:
r"""
Return whether the given package is installed and up-to-date.
Expand Down

0 comments on commit a7b1e81

Please sign in to comment.