Commit 8912ebf
authored
Update arbiter.pyi
`Arbiter.LISTENERS` is actually a list of `BaseSocket`.
You can see this if you follow the calls from [`create_sockets` in Gunicorn](https://github.com/benoitc/gunicorn/blob/56b5ad87f8d72a674145c273ed8f547513c2b409/gunicorn/arbiter.py#L156). It's also correctly `BaseSocket` in the [Typeshed `sock.pyi` file](https://github.com/python/typeshed/blob/main/stubs/gunicorn/gunicorn/sock.pyi#L35).1 parent 3f1cdc5 commit 8912ebf
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments