Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-13553: Document tkinter.Tk args #4786

Merged
merged 8 commits into from
May 10, 2022
Merged

Conversation

csabella
Copy link
Contributor

@csabella csabella commented Dec 11, 2017

Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@terryjreedy
Copy link
Member

terryjreedy commented Dec 12, 2017

None of my comments are outdated by applying Serhiy's suggestions. My review just happened to start before the patch arrived, and except for 1, happen to be attached to the same sentences. Serhiy, please also review my comments.

Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Specifies that the main window for the application is to be embedded in
the window whose identifier is given, instead of being created as an
independent toplevel window.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we are documenting the Tk class. Would it be worth it to document Tk attributes? master, children and tk.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current page reads more like a 'getting started' or 'how to', so I wasn't sure how much detail to add. I know there's a separate bug issue where Terry figured out the difference between master and parent, so maybe it would be worthwhile to include that here?

Doc/library/tkinter.rst Outdated Show resolved Hide resolved
@csabella
Copy link
Contributor Author

I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

@terryjreedy: please review the changes made to this pull request.

Doc/library/tkinter.rst Outdated Show resolved Hide resolved
@csabella
Copy link
Contributor Author

@terryjreedy @serhiy-storchaka @vstinner
I've made additional changes to document the attributes and to remove the documentation of readprofile. Thanks!

Doc/library/tkinter.rst Outdated Show resolved Hide resolved
Doc/library/tkinter.rst Outdated Show resolved Hide resolved
terryjreedy
terryjreedy previously approved these changes Feb 2, 2018
@vstinner
Copy link
Member

I removed the " needs backport to 3.6" label, the 3.6 branch no longer accept bugfixes (only security fixes are accepted): https://devguide.python.org/#status-of-python-branches

@JulienPalard
Copy link
Member

@csabella Looks like this PR is almost OK, maybe just missing the mention that className permits to choose the title of the window (last message of Mark). I tried to mark as resolved every actually resolved comments, I'll let you read the rest of them a last time.

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, it seems the remaining comments don't need to be blocking.

@JelleZijlstra JelleZijlstra self-assigned this May 8, 2022
@JelleZijlstra JelleZijlstra added needs backport to 3.9 only security fixes needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels May 8, 2022
@JelleZijlstra
Copy link
Member

Planning to merge this unless someone has further comments.

@taleinat
Copy link
Contributor

taleinat commented May 9, 2022

LGTM

@JelleZijlstra JelleZijlstra merged commit c56e2bb into python:main May 10, 2022
@miss-islington
Copy link
Contributor

Thanks @csabella for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10, 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 10, 2022
(cherry picked from commit c56e2bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
@bedevere-bot
Copy link

GH-92593 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed needs backport to 3.11 only security fixes needs backport to 3.10 only security fixes labels May 10, 2022
@bedevere-bot
Copy link

GH-92594 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 10, 2022
(cherry picked from commit c56e2bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label May 10, 2022
@bedevere-bot
Copy link

GH-92595 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 10, 2022
(cherry picked from commit c56e2bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
miss-islington added a commit that referenced this pull request May 10, 2022
(cherry picked from commit c56e2bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
miss-islington added a commit that referenced this pull request May 10, 2022
(cherry picked from commit c56e2bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
miss-islington added a commit that referenced this pull request May 10, 2022
(cherry picked from commit c56e2bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
(cherry picked from commit c56e2bb)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.