Deepwalker / trafaret

Ultimate transformation library that supports validation, contexts and aiohttp.
http://trafaret.readthedocs.org/en/latest/
BSD 2-Clause "Simplified" License
177 stars 31 forks source link

Fix README "Rename dict keys" example #45

Closed DaniilDaedalus closed 6 years ago

DaniilDaedalus commented 6 years ago
Deepwalker commented 6 years ago

Do we need extra braces?

DaniilDaedalus commented 6 years ago

i'm convinced that yes. It's not really common to override bitwise shift to be able to pass functions to something so it's a little confusing, especially within dictionary key definition. And a little of explicitness is never a bad thing.