mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Bump greenlet to 3.0.* (#10833)
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
version = "2.0.*"
|
||||
version = "3.0.*"
|
||||
upstream_repository = "https://github.com/python-greenlet/greenlet"
|
||||
|
||||
@@ -63,6 +63,10 @@ class greenlet:
|
||||
@staticmethod
|
||||
def settrace(__callback: _TraceCallback | None) -> _TraceCallback | None: ...
|
||||
|
||||
class UnswitchableGreenlet(greenlet): # undocumented
|
||||
force_switch_error: bool
|
||||
force_slp_switch_error: bool
|
||||
|
||||
def enable_optional_cleanup(__enabled: bool) -> None: ...
|
||||
def get_clocks_used_doing_optional_cleanup() -> int: ...
|
||||
def get_pending_cleanup_count() -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user