Skip to content

Commit

Permalink
Merge from 5.x: PR #21580
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Dec 5, 2023
2 parents c3a6ee9 + 821151d commit 0d4f204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spyder/plugins/pythonpath/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def check_path(path):
else:
pattern = re.compile(
r'.*(lib|lib64)/'
'(python|python\d+|python\d+\.\d+)/'
'(site|dist)-packages.*'
r'(python|python\d+|python\d+\.\d+)/'
r'(site|dist)-packages.*'
)

path_norm = path.replace('\\', '/')
Expand Down

0 comments on commit 0d4f204

Please sign in to comment.