MCPcopy Create free account
hub / github.com/shapely/shapely / wrapper

Function wrapper

shapely/decorators.py:172–179  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

170
171 @wraps(func)
172 def wrapper(*args, **kwargs):
173 result = func(*args, **kwargs)
174
175 n = len(args)
176 if n > warn_from:
177 warnings.warn(make_msg(n), category=category, stacklevel=2)
178
179 return result
180
181 return wrapper
182

Callers

nothing calls this directly

Calls 2

funcFunction · 0.85
make_msgFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…