Skip to content

Commit 17e2cf0

Browse files
committed
Improve docstring slightly
1 parent beff15f commit 17e2cf0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mypy/solve.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ def solve_constraints(vars: List[int], constraints: List[Constraint],
1313
basic: BasicTypes) -> List[Type]:
1414
"""Solve type constraints.
1515
16-
Return the most likely type or None if the variable could not be solved. If a variable
17-
has no constraints, arbitrarily pick NoneTyp as the value of the type variable.
16+
Return the best type(s) for type variables; each type can be None if the value of the variable
17+
could not be solved. If a variable has no constraints, arbitrarily pick NoneTyp as the value of
18+
the type variable.
1819
"""
1920
# Collect a list of constraints for each type variable.
2021
cmap = Dict[int, List[Constraint]]()

0 commit comments

Comments
 (0)