Skip to content
Myr

Fix syntax error

Before adoption: this commit came in with the history the project adopted, so no landing records it.

I can only wonder how I managed to write it like that...

authored by Marcos Dione · committed by GitHub · parent b00d8bf · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/status_codes.py+1 added-1 removed
85 unmodified lines
8687for code, titles in _codes.items():88 for title in titles:89 setattr(codes, title, code)90 if not if not title.startswith(('\\', '/')):90 if not title.startswith(('\\', '/')):91 setattr(codes, title.upper(), code)