mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
Bug 1317180, part 6 - Removed some unused arguments from TypeSpec ctor. r=billm
--HG-- extra : rebase_source : 5f695d6f40cf1e3ba562fcf3a4938945ff8f3acb
This commit is contained in:
parent
d5d74e48b0
commit
219ef41aa4
@ -406,14 +406,13 @@ class Param(Node):
|
||||
self.typespec = typespec
|
||||
|
||||
class TypeSpec(Node):
|
||||
def __init__(self, loc, spec, array=0, nullable=0,
|
||||
myChmod=None, otherChmod=None):
|
||||
def __init__(self, loc, spec):
|
||||
Node.__init__(self, loc)
|
||||
self.spec = spec # QualifiedId
|
||||
self.array = array # bool
|
||||
self.nullable = nullable # bool
|
||||
self.myChmod = myChmod # None or string
|
||||
self.otherChmod = otherChmod # None or string
|
||||
self.array = 0 # bool
|
||||
self.nullable = 0 # bool
|
||||
self.myChmod = None # None or string
|
||||
self.otherChmod = None # None or string
|
||||
|
||||
def basename(self):
|
||||
return self.spec.baseid
|
||||
|
Loading…
Reference in New Issue
Block a user