Skip to content

Commit

Permalink
Fix some docstring problems
Browse files Browse the repository at this point in the history
  • Loading branch information
timj committed Mar 4, 2022
1 parent ce3e78f commit 4fb1095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/utils/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def missing(self, other: Mapping) -> Dict[str, str]:
Returns
-------
missing : `dict` [`str`, `str]
missing : `dict` [`str`, `str`]
Missing packages. Keys (type `str`) are package names; values
(type `str`) are their versions.
"""
Expand All @@ -491,9 +491,9 @@ def difference(self, other: Mapping) -> Dict[str, Tuple[str, str]]:
Returns
-------
difference : `dict` [`str, `tuple` [`str`, `str]]
difference : `dict` [`str`, `tuple` [`str`, `str`]]
Packages in symmetric difference. Keys (type `str`) are package
names; values (type `tuple`[`str, `str`]) are their versions.
names; values (type `tuple`[`str`, `str`]) are their versions.
"""
return {pkg: (self[pkg], other[pkg]) for pkg in self.keys() & other.keys() if self[pkg] != other[pkg]}

Expand Down

0 comments on commit 4fb1095

Please sign in to comment.