Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update Table Style Example in the Quickstart Guide#1371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
lb803 wants to merge2 commits intopython-openxml:develop
base:develop
Choose a base branch
Loading
fromlb803:chore_update_table_style_quickstart

Conversation

lb803
Copy link

This PR updates the table style example offered in the quickstart guide.

Currently, the quickstart guide reports an example to style tables which probably refers to an older version of python-docx. Using this example in a project running the latest version of the library (1.1.0) leads to a deprecation message "UserWarning: style lookup by style_id is deprecated. Use style name as key instead."

The API documentation reportsthe up-to-date convention to style tables (TL;NR the table style name allows spaces but not hyphens). This PR updates the example and its description to match the new convention.

@scannyscannyforce-pushed thedevelop branch 5 times, most recently from4762810 to0a8e9c4CompareMay 1, 2024 19:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@lb803

[8]ページ先頭

©2009-2025 Movatter.jp