fix(nano): Method.from_callable could leak StopIteration
#1376
+8
−2
Method.from_callable could leak StopIteration
#1376