| 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:30f01b69-50ab-c51b-c121-6a940375fe8c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DBB6:139A69:2385C23:31065A8:696AC231 |
| html-safe-nonce | c6ffa5470d51f5944f72b44fee56717a780b2fe687aa2ebd245fee9f67a426cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkI2OjEzOUE2OToyMzg1QzIzOjMxMDY1QTg6Njk2QUMyMzEiLCJ2aXNpdG9yX2lkIjoiNzg0NjAyMTIyNzAzMjAwMzEyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 43a1bddaf31d2578da5f7dfb719afed4925cc3d093f51b7d1c59aaee9d48ba48 |
| hovercard-subject-tag | pull_request:241465400 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/faif/python-patterns/256/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/dcfcad86a888e0a317bae288a16dfe6d7f694b8e494532da3fe56ced94fe102a/faif/python-patterns/pull/256 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dcfcad86a888e0a317bae288a16dfe6d7f694b8e494532da3fe56ced94fe102a/faif/python-patterns/pull/256 |
| og:image:alt | Adding the Singelton Pattern |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mikelfried |
| hostname | github.com |
| expected-hostname | github.com |
| None | 986b6a1d774985095564e64d6963d11f094da3d0e2bfda2ab1a27d63662eb033 |
| turbo-cache-control | no-preview |
| go-import | github.com/faif/python-patterns git https://github.com/faif/python-patterns.git |
| octolytics-dimension-user_id | 1304661 |
| octolytics-dimension-user_login | faif |
| octolytics-dimension-repository_id | 4578002 |
| octolytics-dimension-repository_nwo | faif/python-patterns |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4578002 |
| octolytics-dimension-repository_network_root_nwo | faif/python-patterns |
| 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 | 89ad2112b9c4e11df6a0c13c8c1f8eedd36b0977 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/faif/python-patterns/pull/256#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns%2Fpull%2F256 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns%2Fpull%2F256 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=faif%2Fpython-patterns |
| Reload | https://github.com/faif/python-patterns/pull/256 |
| Reload | https://github.com/faif/python-patterns/pull/256 |
| Reload | https://github.com/faif/python-patterns/pull/256 |
|
faif
| https://github.com/faif |
| python-patterns | https://github.com/faif/python-patterns |
|
Notifications
| https://github.com/login?return_to=%2Ffaif%2Fpython-patterns |
|
Fork
7.1k
| https://github.com/login?return_to=%2Ffaif%2Fpython-patterns |
|
Star
42.7k
| https://github.com/login?return_to=%2Ffaif%2Fpython-patterns |
|
Code
| https://github.com/faif/python-patterns |
|
Issues
10
| https://github.com/faif/python-patterns/issues |
|
Pull requests
2
| https://github.com/faif/python-patterns/pulls |
|
Actions
| https://github.com/faif/python-patterns/actions |
|
Projects
0
| https://github.com/faif/python-patterns/projects |
|
Wiki
| https://github.com/faif/python-patterns/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/faif/python-patterns/security |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
|
Insights
| https://github.com/faif/python-patterns/pulse |
|
Code
| https://github.com/faif/python-patterns |
|
Issues
| https://github.com/faif/python-patterns/issues |
|
Pull requests
| https://github.com/faif/python-patterns/pulls |
|
Actions
| https://github.com/faif/python-patterns/actions |
|
Projects
| https://github.com/faif/python-patterns/projects |
|
Wiki
| https://github.com/faif/python-patterns/wiki |
|
Security
| https://github.com/faif/python-patterns/security |
|
Insights
| https://github.com/faif/python-patterns/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Ffaif%2Fpython-patterns%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Ffaif%2Fpython-patterns%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/faif/python-patterns/pull/256#issue-comment-box |
| mikelfried | https://github.com/mikelfried |
| faif:master | https://github.com/faif/python-patterns/tree/master |
|
making Singelton pattern
| https://github.com/faif/python-patterns/pull/256#top |
| mikelfried | https://github.com/mikelfried |
| faif:master | https://github.com/faif/python-patterns/tree/master |
|
Conversation
4
| https://github.com/faif/python-patterns/pull/256 |
|
Commits
1
| https://github.com/faif/python-patterns/pull/256/commits |
|
Checks
0
| https://github.com/faif/python-patterns/pull/256/checks |
|
Files changed
| https://github.com/faif/python-patterns/pull/256/files |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
| https://github.co/hiddenchars |
| https://github.com/faif/python-patterns/pull/{{ revealButtonHref }} |
|
| https://github.com/mikelfried |
| mikelfried | https://github.com/mikelfried |
| Dec 29, 2018 | https://github.com/faif/python-patterns/pull/256#issue-394827082 |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
|
| https://github.com/mikelfried |
| making Singelton pattern | https://github.com/faif/python-patterns/pull/256/commits/f3cd6c1b74e67735399dc772bfc93040cb135a91 |
| f3cd6c1 | https://github.com/faif/python-patterns/pull/256/commits/f3cd6c1b74e67735399dc772bfc93040cb135a91 |
| https://github.com/codecov-io |
| codecov-io | https://github.com/codecov-io |
| Dec 29, 2018 | https://github.com/faif/python-patterns/pull/256#issuecomment-450522454 |
| Codecov | https://codecov.io/gh/faif/python-patterns/pull/256?src=pr&el=h1 |
| #256 | https://codecov.io/gh/faif/python-patterns/pull/256?src=pr&el=desc |
| master | https://codecov.io/gh/faif/python-patterns/commit/887582c0dd701ca1e3df5642eeaf2a59c890b98a?src=pr&el=desc |
| https://codecov.io/gh/faif/python-patterns/pull/256?src=pr&el=tree |
| Impacted Files | https://codecov.io/gh/faif/python-patterns/pull/256?src=pr&el=tree |
| creational/singelton.py | https://codecov.io/gh/faif/python-patterns/pull/256/diff?src=pr&el=tree#diff-Y3JlYXRpb25hbC9zaW5nZWx0b24ucHk= |
| Continue to review full report at Codecov | https://codecov.io/gh/faif/python-patterns/pull/256?src=pr&el=continue |
| Click here to learn more | https://docs.codecov.io/docs/codecov-delta |
| Codecov | https://codecov.io/gh/faif/python-patterns/pull/256?src=pr&el=footer |
| 887582c...f3cd6c1 | https://codecov.io/gh/faif/python-patterns/pull/256?src=pr&el=lastupdated |
| comment docs | https://docs.codecov.io/docs/pull-request-comments |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
| https://github.com/faif |
| faif | https://github.com/faif |
| Dec 29, 2018 | https://github.com/faif/python-patterns/pull/256#issuecomment-450528627 |
| #233 | https://github.com/faif/python-patterns/issues/233 |
| #226 | https://github.com/faif/python-patterns/issues/226 |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
| https://github.com/faif |
| faif | https://github.com/faif |
| Dec 29, 2018 | https://github.com/faif/python-patterns/pull/256#event-2048251932 |
| https://github.com/gyermolenko |
| gyermolenko | https://github.com/gyermolenko |
| Dec 30, 2018 | https://github.com/faif/python-patterns/pull/256#issuecomment-450579847 |
| @faif | https://github.com/faif |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
| https://github.com/faif |
| faif | https://github.com/faif |
|
wontfix
| https://github.com/faif/python-patterns/issues?q=state%3Aopen%20label%3Awontfix |
| Dec 30, 2018 | https://github.com/faif/python-patterns/pull/256#event-2048565220 |
| https://github.com/faif |
| faif | https://github.com/faif |
| Dec 30, 2018 | https://github.com/faif/python-patterns/pull/256#issuecomment-450589517 |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
| https://github.com/gyermolenko |
| gyermolenko | https://github.com/gyermolenko |
|
Feb 7, 2019
| https://github.com/faif/python-patterns/pull/256#ref-issue-407813627 |
|
[suggestion] Listing anti-patterns in README
#279
| https://github.com/faif/python-patterns/issues/279 |
| https://github.com/adihat |
| adihat | https://github.com/adihat |
|
Oct 7, 2019
| https://github.com/faif/python-patterns/pull/256#ref-pullrequest-503088190 |
|
added singleton pattern.
#303
| https://github.com/faif/python-patterns/pull/303 |
| https://github.com/faif |
| faif | https://github.com/faif |
|
Oct 4, 2020
| https://github.com/faif/python-patterns/pull/256#ref-pullrequest-714153807 |
|
adding singleton pattern
#358
| https://github.com/faif/python-patterns/pull/358 |
| https://github.com/ABHIRANJAN-KUMAR1 |
| ABHIRANJAN-KUMAR1 | https://github.com/ABHIRANJAN-KUMAR1 |
|
Nov 7, 2025
| https://github.com/faif/python-patterns/pull/256#ref-pullrequest-3599927732 |
|
Add anti patterns sectiAdd “Anti-Patterns” section to README with explanations (#256)on
#459
| https://github.com/faif/python-patterns/pull/459 |
| faif | https://github.com/faif |
|
Nov 25, 2025
| https://github.com/faif/python-patterns/pull/256#ref-commit-cd7f927 |
|
| https://github.com/ABHIRANJAN-KUMAR1 |
| Add anti patterns sectiAdd “Anti-Patterns” section to README with exp… | https://github.com/faif/python-patterns/commit/cd7f9271b9fa3dcf6c4df5491f10897a98bfd6eb |
| cd7f927 | https://github.com/faif/python-patterns/commit/cd7f9271b9fa3dcf6c4df5491f10897a98bfd6eb |
| #256 | https://github.com/faif/python-patterns/pull/256 |
| #459 | https://github.com/faif/python-patterns/pull/459 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffaif%2Fpython-patterns%2Fpull%2F256 |
|
wontfix
| https://github.com/faif/python-patterns/issues?q=state%3Aopen%20label%3Awontfix |
| Please reload this page | https://github.com/faif/python-patterns/pull/256 |
|
| https://github.com/mikelfried |
|
| https://github.com/codecov-io |
|
| https://github.com/faif |
|
| https://github.com/gyermolenko |
|
| 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 |