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

Appearance settings

Refactor split init#8

Merged
gahjelle merged 2 commits intorealpython:masterrealpython/codetiming:masterfrom
gahjelle:refactor-split-initgahjelle/codetiming:refactor-split-initCopy head branch name to clipboard
Aug 1, 2019
Merged

Refactor split init#8
gahjelle merged 2 commits intorealpython:masterrealpython/codetiming:masterfrom
gahjelle:refactor-split-initgahjelle/codetiming:refactor-split-initCopy head branch name to clipboard

Conversation

@gahjelle
Copy link
Collaborator

@gahjelle gahjelle commented Aug 1, 2019

Split __init__.py into two files.

Instead of having all code, we split it into two files. This has a couple of advantages:

  • It keeps the codetiming namespace clean
  • It separates code from the setup/metadata of the module

@gahjelle gahjelle merged commit c698637 into realpython:master Aug 1, 2019
@gahjelle gahjelle deleted the refactor-split-init branch August 1, 2019 22:35
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.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.