| 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 | /:user_id/:repository |
| route-controller | files |
| route-action | disambiguate |
| fetch-nonce | v2:58adb0c8-3fab-3149-ecb3-38cc2dc1ecc5 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | E4E2:2636FF:647D67:87C873:6B06CF0D |
| html-safe-nonce | 01ce69db44a9ff0008c00cba676da3d2f45955ed834f224c5c4c012b1c5ea7fa |
| visitor-payload | eyJyZWZlcnJlciI6bnVsbCwicmVxdWVzdF9pZCI6IkU0RTI6MjYzNkZGOjY0N0Q2Nzo4N0M4NzM6NkIwNkNGMEQiLCJ2aXNpdG9yX2lkIjoiNzMyNTU2MjcxNjUzNjg4NTAwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImNlbnRyYWx1cyJ9 |
| visitor-hmac | 5f5122298f6957f2a05387cecf78a7a96b69bcffc573cd397efacffe566d5dd0 |
| hovercard-subject-tag | repository:145098361 |
| github-keyboard-shortcuts | repository,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/LukaMrPython/beautiful_idiomatic_python |
| twitter:image | https://opengraph.githubassets.com/6a2a2ee3b6b48ce11f56e45f67d95d70f627791df8e01875b2ed282c7268ccc2/LukaMrPython/beautiful_idiomatic_python |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a2a2ee3b6b48ce11f56e45f67d95d70f627791df8e01875b2ed282c7268ccc2/LukaMrPython/beautiful_idiomatic_python |
| og:image:alt | Notes from Raymond Hettinger's talk at PyCon US 2013. - LukaMrPython/beautiful_idiomatic_python |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06cadd0061c549662a50be90eb5baba7608f00f521574931eec01db0deb9e636 |
| turbo-cache-control | no-cache |
| go-import | github.com/LukaMrPython/beautiful_idiomatic_python git https://github.com/LukaMrPython/beautiful_idiomatic_python.git |
| octolytics-dimension-user_id | 42096445 |
| octolytics-dimension-user_login | LukaMrPython |
| octolytics-dimension-repository_id | 145098361 |
| octolytics-dimension-repository_nwo | LukaMrPython/beautiful_idiomatic_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 112906529 |
| octolytics-dimension-repository_parent_nwo | JeffPaine/beautiful_idiomatic_python |
| octolytics-dimension-repository_network_root_id | 112906529 |
| octolytics-dimension-repository_network_root_nwo | JeffPaine/beautiful_idiomatic_python |
| 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 | 6953c712585a8d7406b7695e48fffcb670fd241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#start-of-content |
| https://user:token@github.com/ |
| Sign in | https://user:token@github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLukaMrPython%2Fbeautiful_idiomatic_python |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://user:token@github.com/login?return_to=https%3A%2F%2Fgithub.com%2FLukaMrPython%2Fbeautiful_idiomatic_python |
| Sign up | https://user:token@github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=LukaMrPython%2Fbeautiful_idiomatic_python |
| Reload | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python |
| Reload | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python |
| Reload | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python |
| LukaMrPython | https://user:token@github.com/LukaMrPython |
| beautiful_idiomatic_python | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python |
| Code | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python |
| Pull requests | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/pulls |
| Actions | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/actions |
| Projects | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/projects |
| Security and quality | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/security |
| Insights | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/insights |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python |
| beautiful_idiomatic_python | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python |
| JeffPaine/beautiful_idiomatic_python | https://user:token@github.com/JeffPaine/beautiful_idiomatic_python |
| Notifications | https://user:token@github.com/login?return_to=%2FLukaMrPython%2Fbeautiful_idiomatic_python |
| Fork0 (0) | https://user:token@github.com/login?return_to=%2FLukaMrPython%2Fbeautiful_idiomatic_python |
| Star0 (0) | https://user:token@github.com/login?return_to=%2FLukaMrPython%2Fbeautiful_idiomatic_python |
| Readme | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#readme-ov-file |
| Activity | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/activity |
| Custom properties | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/custom-properties |
| 0 forks | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/forks |
| Report repository | https://user:token@github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FLukaMrPython%2Fbeautiful_idiomatic_python&report=LukaMrPython+%28user%29 |
| Branches | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/branches |
| Tags | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/tags |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/branches |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/tags |
| 18 Commits | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/commits/master/ |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/commits/master/ |
| README.md | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/blob/master/README.md |
| README.md | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/blob/master/README.md |
| README | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#transforming-code-into-beautiful-idiomatic-python |
| video | http://www.youtube.com/watch?feature=player_embedded&v=OSGv2VnC0go |
| slides | https://speakerdeck.com/pyconslides/transforming-code-into-beautiful-idiomatic-python-by-raymond-hettinger-1 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#looping-over-a-range-of-numbers |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#looping-over-a-collection |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-1 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#looping-backwards |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-2 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#looping-over-a-collection-and-indices |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-3 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#looping-over-two-collections |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-4 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#looping-in-sorted-order |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#custom-sort-order |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-5 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#call-a-function-until-a-sentinel-value |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-6 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#distinguishing-multiple-exit-points-in-loops |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-7 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#looping-over-dictionary-keys |
| documentation | https://docs.python.org/3/library/stdtypes.html#dict-views |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#looping-over-dictionary-keys-and-values |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-8 |
| documentation | https://docs.python.org/3/library/stdtypes.html#dict-views |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#construct-a-dictionary-from-pairs |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#counting-with-dictionaries |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-9 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#grouping-with-dictionaries----part-i-and-ii |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-10 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#is-a-dictionary-popitem-atomic |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#linking-dictionaries |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-11 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#improving-clarity |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#clarify-function-calls-with-keyword-arguments |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-12 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#clarify-multiple-return-values-with-named-tuples |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-13 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#unpacking-sequences |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-14 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#updating-multiple-state-variables |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-15 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#simultaneous-state-updates |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-16 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#efficiency |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#concatenating-strings |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-17 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#updating-sequences |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-18 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#decorators-and-context-managers |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#using-decorators-to-factor-out-administrative-logic |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-19 |
| standard library | https://docs.python.org/3/library/functools.html |
| functools.lru_cache | https://pypi.python.org/pypi/backports.functools_lru_cache/1.2.1 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#factor-out-temporary-contexts |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-20 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#how-to-open-and-close-files |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-21 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#how-to-use-locks |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-22 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#factor-out-temporary-contexts-1 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-23 |
| documentation | http://docs.python.org/dev/library/contextlib.html#contextlib.ignored |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#factor-out-temporary-contexts-2 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-24 |
| bug report | http://bugs.python.org/issue15805 |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#concise-expressive-one-liners |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#list-comprehensions-and-generator-expressions |
| https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#better-25 |
| Readme | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python#readme-ov-file |
| Activity | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/activity |
| Custom properties | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/custom-properties |
| 0 forks | https://user:token@github.com/LukaMrPython/beautiful_idiomatic_python/forks |
| Report repository | https://user:token@github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2FLukaMrPython%2Fbeautiful_idiomatic_python&report=LukaMrPython+%28user%29 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |