Change sys.path in not_impl_gen.py

This commit is contained in:
coolreader18
2019-07-01 13:18:05 -05:00
parent 982b2f2c14
commit f8cf39ebbb

View File

@@ -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):
"""