Skip to content

Conversation

@csabella
Copy link
Contributor

@csabella csabella commented Aug 1, 2017

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

return frame
Copy link
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
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
Contributor

Choose a reason for hiding this comment

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

OK, got it.

Copy link
Contributor

@mlouielu mlouielu left a comment

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
Copy link
Contributor

mlouielu commented Aug 1, 2017

@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 <[email protected]>. maybe Author: Cheryl Sabella <[email protected]> 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