We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example:
assert list(map(str.upper, System.Array[str](("a", "b")))) == ['A', 'B']
fails with:
TypeError: upper() takes no arguments (2 given)
The method signature is:
public Map(CodeContext context, object? func, [NotNull]params object[] iterables);
This used to work with IronPython 2 because the method signature for map was different:
map
public static List map(CodeContext/*!*/ context, params object[] param);
The text was updated successfully, but these errors were encountered:
IronLanguages/dlr#249 addresses this issue at the DLR level.
Sorry, something went wrong.
No branches or pull requests
For example:
fails with:
The method signature is:
This used to work with IronPython 2 because the method signature for
map
was different:The text was updated successfully, but these errors were encountered: