8000 Remove use of deprecated builtin_type (#170) · bryanforbes/gino-stubs@785bdf0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 785bdf0

Browse files
Remove use of deprecated builtin_type (#170)
* Remove use of deprecated builtin_type This was removed in python/mypy#11343 Co-authored-by: Bryan Forbes <bryan@reigndropsfall.net>
1 parent 087c7c0 commit 785bdf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ginomypy/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def create_dynamic_class(
137137

138138
class_def.info = info
139139

140-
obj = ctx.api.builtin_type('builtins.object')
140+
obj = ctx.api.named_type('object')
141141
info.bases = bases or [obj]
142142

143143
try:

0 commit comments

Comments
 (0)
0