Make CompilerSpec raise on __init__
This commit is contained in:
parent
d5bee0d4b0
commit
0595d0a9d0
@ -606,6 +606,7 @@ class CompilerSpec:
|
|||||||
__slots__ = "name", "versions"
|
__slots__ = "name", "versions"
|
||||||
|
|
||||||
def __init__(self, *args):
|
def __init__(self, *args):
|
||||||
|
raise TypeError("CompilerSpec is being removed")
|
||||||
nargs = len(args)
|
nargs = len(args)
|
||||||
if nargs == 1:
|
if nargs == 1:
|
||||||
arg = args[0]
|
arg = args[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user