‘apply’ function used¶
ID: py/use-of-apply Kind: problem Severity: warning Precision: very-high Tags: - maintainability Query suites: - python-security-and-quality.qls
Click to see the query in the CodeQL repository
The ‘apply’ function is deprecated and makes code harder to read as most Python programmers will not be familiar with it (it has been deprecated since 2003).
apply(function, args) with
apply(function, args, keywords) with
Python Standard Library: apply.
Python PEP-290: Code Migration and Modernization.