8000 resort weakref classes by tungol · Pull Request #11165 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

resort weakref classes #11165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 2, 2024
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
Merge branch 'main' into weakref
  • Loading branch information
JelleZijlstra authored Oct 2, 2024
commit 542213d411bf63522ab70e901f3af5a9883be372
4 changes: 2 additions & 2 deletions stdlib/_weakref.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ from weakref import CallableProxyType as CallableProxyType, ProxyType as ProxyTy
_C = TypeVar("_C", bound=Callable[..., Any])
_T = TypeVar("_T")

def getweakrefcount(__object: Any) -> int: ...
def getweakrefs(__object: Any) -> list[Any]: ...
def getweakrefcount(object: Any, /) -> int: ...
def getweakrefs(object: Any, /) -> list[Any]: ...

# Return CallableProxyType if object is callable, ProxyType otherwise
@overload
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
0