Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
Python-List
/
python-switch
Public
forked from
mikeckennedy/python-switch
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Branch selector
master
User selector
All users
All time
Commit history
Commits on Sep 15, 2017
Merge branch 'master' of https://github.com/mikeckennedy/python-switch
Show description for 967331c
mikeckennedy
committed
967331c
View commit details
Copy full SHA for 967331c
Browse repository at this point
cleanup on readme
mikeckennedy
committed
ef3c2ce
View commit details
Copy full SHA for ef3c2ce
Browse repository at this point
made the second range contain more than one item.
mikeckennedy
authored
8dca331
View commit details
Copy full SHA for 8dca331
Browse repository at this point
Commits on Sep 14, 2017
: not ,
mikeckennedy
authored
dc3053b
View commit details
Copy full SHA for dc3053b
Browse repository at this point
formatting
mikeckennedy
committed
9fd998c
View commit details
Copy full SHA for 9fd998c
Browse repository at this point
Fixes doc statement on half open ranges.
mikeckennedy
committed
7486ce7
View commit details
Copy full SHA for 7486ce7
Browse repository at this point
Adds closed range feature.
Show description for 59bd2b8
mikeckennedy
committed
59bd2b8
View commit details
Copy full SHA for 59bd2b8
Browse repository at this point
spelling can be hard ;)
mikeckennedy
committed
7acf576
View commit details
Copy full SHA for 7acf576
Browse repository at this point
Why not dicts?
mikeckennedy
committed
5bbf065
View commit details
Copy full SHA for 5bbf065
Browse repository at this point
Adds ability to capture return value from the cases.
mikeckennedy
committed
7da8e53
View commit details
Copy full SHA for 7da8e53
Browse repository at this point
misleading text on these lines.
mikeckennedy
committed
5f18697
View commit details
Copy full SHA for 5f18697
Browse repository at this point
Drops my silly idea of case( range(1,3) ) -> 1, 2, or 3.
mikeckennedy
committed
86ef507
View commit details
Copy full SHA for 86ef507
Browse repository at this point
Commits on Sep 13, 2017
Actually, we don't care about the return type of the actions at all.
mikeckennedy
committed
66ea094
View commit details
Copy full SHA for 66ea094
Browse repository at this point
Add support for multiple cases, single action.
mikeckennedy
committed
003e2a0
View commit details
Copy full SHA for 003e2a0
Browse repository at this point
Key details
mikeckennedy
committed
ab6c643
View commit details
Copy full SHA for ab6c643
Browse repository at this point
An initial take on switch extension.
mikeckennedy
committed
dae197a
View commit details
Copy full SHA for dae197a
Browse repository at this point
Initial commit
mikeckennedy
committed
fbd7b3b
View commit details
Copy full SHA for fbd7b3b
Browse repository at this point
You can’t perform that action at this time.