Title: Updated style with more explicit examples of truth checking by leetrout · Pull Request #105 · realpython/python-guide · GitHub
Open Graph Title: Updated style with more explicit examples of truth checking by leetrout · Pull Request #105 · realpython/python-guide
X Title: Updated style with more explicit examples of truth checking by leetrout · Pull Request #105 · realpython/python-guide
Description: I feel like the existing example if not attr: print 'attr is None!' is very misleading. Since this is such an opinionated style guide it seems like a great opportunity to link out to the Python doc...
Open Graph Description: I feel like the existing example if not attr: print 'attr is None!' is very misleading. Since this is such an opinionated style guide it seems like a great opportunity to link out to the Py...
X Description: I feel like the existing example if not attr: print 'attr is None!' is very misleading. Since this is such an opinionated style guide it seems like a great opportunity to link out t...
Opengraph URL: https://github.com/realpython/python-guide/pull/105
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e0ab6ba4-b82b-5491-3f28-48264c3422c6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A188:D2C73:2E1AD1:41838E:696FA425 |
| html-safe-nonce | faaf03cbabd1a26e88fab36e593724cbaa58fe586d1ec1fd1a0a5d2f9d1c4633 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTg4OkQyQzczOjJFMUFEMTo0MTgzOEU6Njk2RkE0MjUiLCJ2aXNpdG9yX2lkIjoiNzQ1NDI0NjkwMTg3NTc2MzU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ce101f05d6e128a7bc0d01dc75daf6d97cc04f91b8abb19d8a415a886e9530f0 |
| hovercard-subject-tag | pull_request:1043562 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/realpython/python-guide/105/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1e88adb84240f9b8a54d90e484238d12a9e546b5397f94c5db2912e78379c7f0/realpython/python-guide/pull/105 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1e88adb84240f9b8a54d90e484238d12a9e546b5397f94c5db2912e78379c7f0/realpython/python-guide/pull/105 |
| og:image:alt | I feel like the existing example if not attr: print 'attr is None!' is very misleading. Since this is such an opinionated style guide it seems like a great opportunity to link out to the Py... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | leetrout |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| turbo-cache-control | no-preview |
| go-import | github.com/realpython/python-guide git https://github.com/realpython/python-guide.git |
| octolytics-dimension-user_id | 5448020 |
| octolytics-dimension-user_login | realpython |
| octolytics-dimension-repository_id | 1481305 |
| octolytics-dimension-repository_nwo | realpython/python-guide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1481305 |
| octolytics-dimension-repository_network_root_nwo | realpython/python-guide |
| 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 | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width