Skip to content

Commit ae92f95

Browse files
Update peps/pep-0800.rst
1 parent f8eea13 commit ae92f95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0800.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ a single solid base, that is the class's solid base. If there are multiple candi
246246
that class is the solid base. If no such candidate exists, the class does not have a valid solid base, and therefore cannot exist.
247247

248248
Type checkers must check for a valid solid base when checking class definitions, and emit a diagnostic if they encounter a class
249-
definition that lacks a valid solid base. Type checkers must also use the solid base mechanism to determine whether types are disjoint,
249+
definition that lacks a valid solid base. Type checkers may also use the solid base mechanism to determine whether types are disjoint,
250250
for example when checking whether a type narrowing construct like ``isinstance()`` results in an unreachable branch.
251251

252252
Example::

0 commit comments

Comments
 (0)