Skip to content

Fix disjoint cellrange calculation

Bitbucket Importer requested to merge bitbucket/merged-pr-286 into branch/2.5

Created originally on Bitbucket by tehhowch (Benjamin Hauch)

Was already merged in Bitbucket before import, marked as merged by the import user

  • Add additional cases to disjoint tests

    • Highlights issue with existing isdisjoint implementation
  • Update isdisjoint calculation

  • Use cached title variable

  • Update docstrings to improve clarity

    • Fix some punctuation / grammar errors
    • Add missing backtick formatter
    • Rephrase the docstring for union to clarify what it does
    • Update type hints for method arguments & return values

Closes https://bitbucket.org/openpyxl/openpyxl/issues/1116/erroneous-behavior-of-cellrange-isdisjoint

Merge request reports