diff options
| author | Russell Ballestrini <russell.ballestrini@gmail.com> | 2017-05-06 20:15:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-06 20:15:40 -0400 |
| commit | 203101c06c61a80d1023f1d21302eceae5f66e81 (patch) | |
| tree | 41b5e8da197d52d42883594b176d52f7f694f235 /CONTRIBUTORS.txt | |
| parent | ab8c57811d904377416c2786670ecf0e81d8ca33 (diff) | |
| download | pyramid-203101c06c61a80d1023f1d21302eceae5f66e81.tar.gz pyramid-203101c06c61a80d1023f1d21302eceae5f66e81.tar.bz2 pyramid-203101c06c61a80d1023f1d21302eceae5f66e81.zip | |
Update url.py | Refactor parse_url_overrides
Refactor parse_url_overrides:
* pop values with default if key is missing
* change conditionals to test for truth
* prevent throwing an exception if passing keyword with default value
* test if anchor starts with '#' before blindly adding it
Diffstat (limited to 'CONTRIBUTORS.txt')
0 files changed, 0 insertions, 0 deletions
