Skip to content

Commit d7aeca8

Browse files
[gunicorn] Fix 'SettingMeta' method '__new__' return type
1 parent 79b3948 commit d7aeca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/gunicorn/gunicorn/config.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class Config:
123123
def paste_global_conf(self) -> dict[str, str] | None: ...
124124

125125
class SettingMeta(type):
126-
def __new__(cls, name: str, bases: tuple[type, ...], attrs: dict[str, Any]) -> type: ...
126+
def __new__(cls, name: str, bases: tuple[type, ...], attrs: dict[str, Any]) -> SettingMeta: ...
127127
def fmt_desc(cls, desc: str) -> None: ...
128128

129129
class Setting(metaclass=SettingMeta):

0 commit comments

Comments
 (0)