8000 📝 Update docs for `varname(strict=...)` · pwwang/python-varname@e2f8654 · GitHub
[go: up one dir, main page]

Skip to content

Commit e2f8654

Browse files
committed
📝 Update docs for varname(strict=...)
1 parent 9b28d7d commit e2f8654

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎varname/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ class instantiation.
7474
the use of `varname` is improper (i.e. multiple variables on
7575
LHS with `multi_vars` is `False`). See `Raises/ImproperUseError`.
7676
strict: Whether to only return the variable name(s) if the result of
77-
the call is assigned to it/them directly.
77+
the call is assigned to it/them directly. For example, `a = func()`
78+
rather than `a = [func()]`
7879
7980
Returns:
8081
The variable name, or `None` when `raise_exc` is `False` and

0 commit comments

Comments
 (0)
0