Skip to content

bpo-31083: IDLE: Document TabPage(Frame) for configdialog#2965

Merged
terryjreedy merged 4 commits into
python:masterfrom
csabella:bpo31083
Aug 1, 2017
Merged

bpo-31083: IDLE: Document TabPage(Frame) for configdialog#2965
terryjreedy merged 4 commits into
python:masterfrom
csabella:bpo31083

Conversation

@csabella

@csabella csabella commented Aug 1, 2017

Copy link
Copy Markdown
Contributor

indent_title.pack(side=TOP, anchor=W, padx=5)
self.indent_scale.pack(side=TOP, padx=5, fill=X)

return frame

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does this need to return self?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

No, because calling a class returns a new instance. In this case, the instance, self, is a frame. Create_widgets is now called within init (and the None return ignored) instead of by ConfigDialog.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

OK, got it.

@mlouielu mlouielu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Otherwise LGTM.

@terryjreedy terryjreedy merged commit 6f446be into python:master Aug 1, 2017
terryjreedy pushed a commit to terryjreedy/cpython that referenced this pull request Aug 1, 2017
…honGH-2965)

Add template as comment. Update existing classes to match outline.
Initial patch by Cheryl Sabella.
(cherry picked from commit 6f446be)
terryjreedy added a commit that referenced this pull request Aug 1, 2017
…2965) (#2973)

Add template as comment. Update existing classes to match outline.
Initial patch by Cheryl Sabella.
(cherry picked from commit 6f446be)
@mlouielu

mlouielu commented Aug 1, 2017

Copy link
Copy Markdown
Contributor

@csabella Forgot to ask you, you can setup your name in GitHub settings,then inside the git log it will show up with this name.

Otherwise you name inside git log is using Author: csabella <cheryl.sabella@gmail.com>. maybe Author: Cheryl Sabella <cheryl.sabella@gmail.com> will be much better.

@csabella csabella deleted the bpo31083 branch August 1, 2017 11:51
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.

4 participants