We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
varname(strict=...)
1 parent 9b28d7d commit e2f8654Copy full SHA for e2f8654
‎varname/core.py‎
@@ -74,7 +74,8 @@ class instantiation.
74
the use of `varname` is improper (i.e. multiple variables on
75
LHS with `multi_vars` is `False`). See `Raises/ImproperUseError`.
76
strict: Whether to only return the variable name(s) if the result of
77
- the call is assigned to it/them directly.
+ the call is assigned to it/them directly. For example, `a = func()`
78
+ rather than `a = [func()]`
79
80
Returns:
81
The variable name, or `None` when `raise_exc` is `False` and
0 commit comments