mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Change sys.path in not_impl_gen.py
This commit is contained in:
@@ -6,6 +6,13 @@ import pkgutil
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path = list(
|
||||
filter(
|
||||
lambda path: "site-packages" not in path and "dist-packages" not in path,
|
||||
sys.path,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def attr_is_not_inherited(type_, attr):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user