File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
py5_resources/py5_module/py5 Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 83
83
_PY5_LAST_WINDOW_Y = None
84
84
85
85
86
- def _deprecated_g (f ):
87
- @functools .wraps (f )
88
- def decorated (self_ , * args ):
89
- warnings .warn (
90
- "Accessing the primary Py5Graphics object with `g` is deprecated. Please use `get_graphics()` instead." ,
91
- category = DeprecationWarning ,
92
- stacklevel = 3 if py5_tools .imported .get_imported_mode () else 4 ,
93
- )
94
- return f (self_ , * args )
95
-
96
- return decorated
86
+ # def _deprecated_g(f):
87
+ # @functools.wraps(f)
88
+ # def decorated(self_, *args):
89
+ # warnings.warn(
90
+ # "Accessing the primary Py5Graphics object with `g` is deprecated. Please use `get_graphics()` instead.",
91
+ # category=DeprecationWarning,
92
+ # stacklevel=3 if py5_tools.imported.get_imported_mode() else 4,
93
+ # )
94
+ # return f(self_, *args)
95
+
96
+ # return decorated
97
97
98
98
99
99
def _auto_convert_to_py5image (argnum ):
You can’t perform that action at this time.
0 commit comments