sebp / sebp/PyGObject-Tutorial
Should we use self.set_title(title="...") instead
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 392
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I just send the PR #199. I was conservative.
It may be even nicer to change all instances from:
super().__init__(title="...")
to even cleaner style:
super().__init__()
self.set_title(title="...")
This example is more expandable for user in future. Just a thought ...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review PR #199 first, then locate the tutorial instances using super().init(title="...") and compare them with the proposed self.set_title(title="...") style. Done means deciding on the style and updating all applicable instances consistently; the payload names no specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100