FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix issue in the decorator class example by prashastham · Pull Request #235 · yasoob/intermediatePython · GitHub

Repository navigation

Fix issue in the decorator class example - #235

Open
prashastham wants to merge 2 commits into
yasoob:masterfrom
prashastham:master
Open

prashastham wants to merge 2 commits into
yasoob:masterfrom
prashastham:master

Conversation

Copy link
Copy Markdown

super(email_logit, self).__init__(*args, **kwargs) doesn't seem to work here. I think the correct way is super(email_logit, self).__init__(func) taking in the func argument in the __init__ of the sub class.

Seems like passing variable arguments and key word arguments to the __init__() of the super class is incorrect
Fix issue in decorator class exmaple in decorators.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL