FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add index property to _Row and _Column by ChrisJr404 · Pull Request #1599 · python-openxml/python-docx · GitHub

Add index property to _Row and _Column - #1599

Open
ChrisJr404 wants to merge 1 commit into
python-openxml:masterfrom
ChrisJr404:table-row-column-index
Open

Add index property to _Row and _Column#1599
ChrisJr404 wants to merge 1 commit into
python-openxml:masterfrom
ChrisJr404:table-row-column-index

Conversation

Copy link
Copy Markdown

This closes #112. It promotes the private _index on _Row and _Column to a public read-only index property, so you can ask a row or column where it sits in its table.

The value is exactly the one _Column.cells was already using internally, so nothing about the existing behavior changes. I pointed that caller at the new public property and updated the existing unit tests.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: _Row.index and _Column.index

1 participant


Back | FazBrowse Home | New Git URL