Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo
  • Loading branch information
ilevkivskyi committed Aug 17, 2023
commit 397334f7acdd69f16bd1591aeab584f14083d2e3
2 changes: 1 addition & 1 deletion mypy/semanal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ def analyze_overloaded_func_def(self, defn: OverloadedFuncDef) -> None:

if types and (not isinstance(defn.impl, Decorator) or not defn.impl.decorators):
# TODO: should we enforce decorated overloads consistency somehow?
# TODO: how do support decorated overloads in stubs without major slow-down?
# TODO: how to support decorated overloads in stubs without major slow-down?
defn.type = Overloaded(types)
defn.type.line = defn.line

Expand Down