Skip to content

Commit e838560

Browse files
committed
Merge pull request kivy#3619 from aron-bordin/3618_fix_sandbox_decorator
fix kivy#3618 - add wraps sandox decorator
2 parents 9718e75 + 2588ce5 commit e838560

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kivy/uix/sandbox.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
__all__ = ('Sandbox', )
2626

27+
from functools import wraps
2728
from kivy.context import Context
2829
from kivy.base import ExceptionManagerBase
2930
from kivy.clock import Clock
@@ -34,6 +35,7 @@
3435

3536

3637
def sandbox(f):
38+
@wraps(f)
3739
def _f2(self, *args, **kwargs):
3840
ret = None
3941
with self:

0 commit comments

Comments
 (0)