You have a method that returns multiple values. So you have to define a class, instantiate it, set the properties to the values, and return the resulting object, right? Well, no you don't -- at least ...
A recent discussion on the python-ideas mailing list gives some insight into how to—or how not to—propose a feature to be added to the language. At first blush, adding a method to Python's immutable ...
String functions, integer functions ... booorrring! Tuples in C# 7.0 -- let's explore what makes them infinitely more exciting. String functions return a string. Integer functions return an integer.
In my experience of healthy communities, something like log1p can be justified because you can explain the need clearly, and can explain why the "obvious" alternatives don't meet the need. For example ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results