Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Commit43b7f8a
committed
Annotate safer_popen broad enough for all platforms
This fixes another static typing error reported by mypy.(The annotation could be made more specific in the future by makinga custom protocol for it, which may or may not be worthwhile, giventhat `**kwargs: Any` would still have to be present after whatevertyped keyword arguments the protocol's `__call__` method listed,since some callers intentionally forward arbitrary extra keywordarguments through safer_popen to Popen.)1 parent3c5ca52 commit43b7f8a
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
278 | 278 |
| |
279 | 279 |
| |
280 | 280 |
| |
| 281 | + | |
| 282 | + | |
281 | 283 |
| |
282 | 284 |
| |
283 | 285 |
| |
|
0 commit comments
Comments
(0)