-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move result size check one level higher (#1714)
No functional change but move result length check one level higher in the call stack. There's no sense in passing the size limit. `_call_user_function`'s purview is to invoke the function. Checking the result validity is for the higher-level helper. While in `_call_user_function`, make IDE slightly happier by not shadowing the module variable.
- Loading branch information
1 parent
1cd2f0d
commit c641420
Showing
1 changed file
with
11 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters