format tree

This commit is contained in:
zowoq 2023-12-07 13:13:09 +10:00
parent e81a23856e
commit 46281b8640

View file

@ -137,7 +137,7 @@ class Storage:
@overload @overload
@staticmethod @staticmethod
def _cursor_method( def _cursor_method(
fun: CurMethod[StorageSelf, P, T] fun: CurMethod[StorageSelf, P, T],
) -> WrappedCurMethod[StorageSelf, P, T]: ) -> WrappedCurMethod[StorageSelf, P, T]:
... ...
@ -160,7 +160,7 @@ class Storage:
| Callable[[CurMethod[StorageSelf, P, T]], WrappedCurMethod[StorageSelf, P, T]] | Callable[[CurMethod[StorageSelf, P, T]], WrappedCurMethod[StorageSelf, P, T]]
): ):
def decorator( def decorator(
fun: CurMethod[StorageSelf, P, T] fun: CurMethod[StorageSelf, P, T],
) -> WrappedCurMethod[StorageSelf, P, T]: ) -> WrappedCurMethod[StorageSelf, P, T]:
if transaction: if transaction: