Title: Session 3: decorators, explanations · Issue #12 · Python-Crash-Course/Python201 · GitHub
Open Graph Title: Session 3: decorators, explanations · Issue #12 · Python-Crash-Course/Python201
X Title: Session 3: decorators, explanations · Issue #12 · Python-Crash-Course/Python201
Description: The decorator section and exercises currently only contains wrapper functions that print stuff. There should be an example of a wrapper function that returns something. Or, at the very least, an explanation that a return is needed if one...
Open Graph Description: The decorator section and exercises currently only contains wrapper functions that print stuff. There should be an example of a wrapper function that returns something. Or, at the very least, an ex...
X Description: The decorator section and exercises currently only contains wrapper functions that print stuff. There should be an example of a wrapper function that returns something. Or, at the very least, an ex...
Opengraph URL: https://github.com/Python-Crash-Course/Python201/issues/12
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Session 3: decorators, explanations","articleBody":"The decorator section and exercises currently only contains wrapper functions that print stuff.\r\n\r\nThere should be an example of a wrapper function that returns something. Or, at the very least, an explanation that a `return` is needed if one want the decorated function to return anything other than ´`None`.\r\n\r\nA good reference: https://realpython.com/primer-on-python-decorators/","author":{"url":"https://github.com/timskovjacobsen","@type":"Person","name":"timskovjacobsen"},"datePublished":"2020-10-13T18:26:47Z","url":"https://github.com/Python-Crash-Course/Python201/issues/12"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:119a241e-ec49-13c0-dc87-8cd807a111e2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C40C:6FB4F:15CE48F:1DFA8DA:6B057BA8 |
| html-safe-nonce | 643817004f25f8a173811f93bfe998f4f443361b439755929c34066f56912fb2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDBDOjZGQjRGOjE1Q0U0OEY6MURGQThEQTo2QjA1N0JBOCIsInZpc2l0b3JfaWQiOiI0MjA5Nzc1MTEzOTQ1ODQwNTUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c9bc30d57dea26cb2b54461219dda1347ae1b36610bc77bdc492501b03b54c38 |
| hovercard-subject-tag | issue:720649464 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Python-Crash-Course/Python201/12/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c89d8d6b1a02194c1acf23cc2de937082b14dc8293835ee7ca4c88ed3c08a9ce/Python-Crash-Course/Python201/issues/12 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c89d8d6b1a02194c1acf23cc2de937082b14dc8293835ee7ca4c88ed3c08a9ce/Python-Crash-Course/Python201/issues/12 |
| og:image:alt | The decorator section and exercises currently only contains wrapper functions that print stuff. There should be an example of a wrapper function that returns something. Or, at the very least, an ex... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timskovjacobsen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 507b2d62524c0f595c35a2a2ee8a6ec54b119f245b3c59eaa070013b70ed1ada |
| turbo-cache-control | no-preview |
| go-import | github.com/Python-Crash-Course/Python201 git https://github.com/Python-Crash-Course/Python201.git |
| octolytics-dimension-user_id | 54722474 |
| octolytics-dimension-user_login | Python-Crash-Course |
| octolytics-dimension-repository_id | 205440495 |
| octolytics-dimension-repository_nwo | Python-Crash-Course/Python201 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205440495 |
| octolytics-dimension-repository_network_root_nwo | Python-Crash-Course/Python201 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e7a883ae3b439b8952652eaa7803e2587f30e339 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width