mirror of
https://github.com/python/cpython.git
synced 2025-09-17 22:20:23 +00:00
PendingDeprecationWarning -> DeprecationWarning in build_ext
This commit is contained in:
parent
00e1f63c6e
commit
00490f2754
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ class build_ext (Command):
|
|||
# we don't want to allow that anymore in the future
|
||||
warn("'compiler' specifies the compiler type in build_ext. "
|
||||
"If you want to get the compiler object itself, "
|
||||
"use 'compiler_obj'", PendingDeprecationWarning)
|
||||
"use 'compiler_obj'", DeprecationWarning)
|
||||
self._compiler = compiler
|
||||
|
||||
def _get_compiler(self):
|
||||
|
@ -144,7 +144,7 @@ class build_ext (Command):
|
|||
# we don't want to allow that anymore in the future
|
||||
warn("'compiler' specifies the compiler type in build_ext. "
|
||||
"If you want to get the compiler object itself, "
|
||||
"use 'compiler_obj'", PendingDeprecationWarning)
|
||||
"use 'compiler_obj'", DeprecationWarning)
|
||||
return self._compiler
|
||||
|
||||
compiler = property(_get_compiler, _set_compiler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue