We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba1e0d commit a3148dcCopy full SHA for a3148dc
pep-0484.txt
@@ -303,7 +303,10 @@ The function ``concat`` can be called with either two ``str`` arguments
303
or two ``bytes`` arguments, but not with a mix of ``str`` and ``bytes``
304
arguments.
305
306
-Note that subtypes of types constrained by a type variable are treated
+There should be at least two constraints, if any; specifying a single
307
+constraint is disallowed.
308
+
309
+Subtypes of types constrained by a type variable should be treated
310
as their respective explicitly listed base types in the context of the
311
type variable. Consider this example::
312
0 commit comments