Skip to content

Fix in `DefinedName.destinations` : changed to yield either quoted or notquoted sheet name (#714).

Bitbucket Importer requested to merge bitbucket/declined-pr-143 into branch/default

Created originally on Bitbucket by fumitoh (fumito hamamura)

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

In the previous code below, when a defined name refers to "'Sheet 1'!$A$1", None is returned as the first element of the tuple returned from a call to the generator destinations.'quoted') instead of'notquoted') should be returned in such cases.


#, line 133
    def destinations(self):
        if self.type == "RANGE":
            tok = Tokenizer("=" + self.value)
            for part in tok.items:
                if part.subtype == "RANGE":
                    m = SHEETRANGE_RE.match(part.value)

Merge request reports