mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Merge pull request #3157 from DimitrisJim/whats_left
Fix what's left issue
This commit is contained in:
@@ -241,7 +241,14 @@ libdir = {os.path.abspath("../Lib/").encode('utf8')!r}
|
||||
"""
|
||||
|
||||
# Copy the source code of functions we will reuse in the generated script
|
||||
for fn in [attr_is_not_inherited, extra_info, dir_of_mod_or_error]:
|
||||
REUSED = [
|
||||
attr_is_not_inherited,
|
||||
extra_info,
|
||||
dir_of_mod_or_error,
|
||||
import_module,
|
||||
is_child
|
||||
]
|
||||
for fn in REUSED:
|
||||
output += "".join(inspect.getsourcelines(fn)[0]) + "\n\n"
|
||||
|
||||
# Prevent missing variable linter errors from compare()
|
||||
|
||||
Reference in New Issue
Block a user