<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Looking at PEP 484, I came up with two use cases that I felt were
not catered for:<br>
<ol>
<li>Specifying that a parameter should be a subclass of another
(example: Type[dict] would match dict or OrderedDict; plain
"Type" would equal "type" from builtins)</li>
<li>Specifying that a callable should take at least the specified
arguments but would not be limited to them: Callable[[str, int,
...], Any]</li>
</ol>
<p>Case #2 works already (Callable[[str, int], Any] if the
unspecified arguments are optional, but not if they're mandatory.
Any thoughts?<br>
</p>
</body>
</html>