diff options
author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-10-13 09:43:25 +0200 |
---|---|---|
committer | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-10-13 10:28:40 +0200 |
commit | eba83419b0668d2609a4f15a43eddf921813037f (patch) | |
tree | 3bd18b05f5debd15763e26223efdcc229bf45097 /numpy/array_api/_set_functions.py | |
parent | 22c540ca17cf2e9a837cb543d581c13a71481fb3 (diff) | |
download | numpy-eba83419b0668d2609a4f15a43eddf921813037f.tar.gz |
MAINT: always use sys.base_prefix, never use sys.real_prefix
`sys.base_prefix` was introduced in Python 3.3, so it will always be
available in supported versions of Python >= 3.3:
https://docs.python.org/3/library/sys.html#sys.base_prefix
As a result, `sys.real_prefix` will never be used in supported versions
of Python >= 3.3. Besides, it has been removed from recent versions of
virtualenv:
https://github.com/pypa/virtualenv/issues/1622
Diffstat (limited to 'numpy/array_api/_set_functions.py')
0 files changed, 0 insertions, 0 deletions