🌐 AI搜索 & 代理 主页
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
More accurate type for self.self_converter
  • Loading branch information
erlend-aasland committed Jul 3, 2023
commit cd5d675373565347ce828230dd06baa45f62e3c7
3 changes: 2 additions & 1 deletion Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
TypeGuard,
overload,
)
from __future__ import annotations

# TODO:
#
Expand Down Expand Up @@ -2467,7 +2468,7 @@ def __init__(
self.docstring = docstring or ''
self.kind = kind
self.coexist = coexist
self.self_converter: CConverter | None = None
self.self_converter: self_converter | None = None
# docstring_only means "don't generate a machine-readable
# signature, just a normal docstring". it's True for
# functions with optional groups because we can't represent
Expand Down