Recommend a different exception_handler idiom
Summary: This is a //tiny// documentation change. I noticed that there are lots of places in the codebase where people follow this recommended usage of `with_exception` in an if–else chain, (e.g., https://fburl.com/181606454). IMHO, a short-circuiting `||` operator is easier to read and write. Reviewed By: yfeldblum Differential Revision: D2687840 fb-gh-sync-id: 6354555aeba81dcfe7adf17e7e573de0b1206b37
Showing
Please register or sign in to comment