kopia lustrzana https://github.com/animator/learn-python
rodzic
5f57b24ac0
commit
e5c88286d5
|
@ -160,3 +160,14 @@ The patterns will not match the cases and will trigger the wildcard case for the
|
||||||
>>> get_class(Pet('Tommy', 'Dog'))
|
>>> get_class(Pet('Tommy', 'Dog'))
|
||||||
Invalid
|
Invalid
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Nested Patterns
|
||||||
|
|
||||||
|
### Complex Patterns
|
||||||
|
#### Wildcard
|
||||||
|
|
||||||
|
#### Guard
|
||||||
|
|
||||||
|
## Summary
|
||||||
|
|
||||||
|
## Further Reading
|
||||||
|
|
Ładowanie…
Reference in New Issue