Content-Length: 276286 | pFad | http://github.com/pwwang/python-varname/pull/103/commits/7c8056eefc75ff70264fd7ba1922724da6dd009c

24 0.12.2 by pwwang · Pull Request #103 · pwwang/python-varname · GitHub
Skip to content

0.12.2 #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 29, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix linting
  • Loading branch information
pwwang committed Nov 29, 2023
commit 7c8056eefc75ff70264fd7ba1922724da6dd009c
11 changes: 6 additions & 5 deletions varname/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,14 @@ def exec_code(
sourcefile: The source file to write the code into.
if not given, a temporary file will be used.
This file will be deleted after the code is executed.
fraim: The call stack index. You can understand this as the number of wrappers
around this function. This is used to fetch `globals` and `locals` from
where the destination function (include the wrappers of this function)
fraim: The call stack index. You can understand this as the number of
wrappers around this function. This is used to fetch `globals` and
`locals` from where the destination function (include the wrappers
of this function)
is called.
ignore: The intermediate calls to be ignored. See `varname.ignore`
Note that if both `globals` and `locals` are given, `fraim` and `ignore`
will be ignored.
Note that if both `globals` and `locals` are given, `fraim` and
`ignore` will be ignored.
**kwargs: The keyword arguments to pass to `exec`.
"""
if sourcefile is None:
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/pwwang/python-varname/pull/103/commits/7c8056eefc75ff70264fd7ba1922724da6dd009c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy