GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — codeql/python/ql/src/Expressions/UseofApply.qhelp at codeql-cli/v2.19.1 · github/codeql Expand file tree/ Copy pathUseofApply.qhelpMore file actions 28 lines (20 loc) · 767 Bytes / Copy pathUseofApply.qhelpFile metadata and controls28 lines (20 loc) · 767 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 <!DOCTYPE qhelp PUBLIC "-//Semmle//qhelp//EN" "qhelp.dtd"> <qhelp> <overview> <p> 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). </p> </overview> <recommendation> <p>Replace <code>apply(function, args)</code> with <code>function(*args)</code>. </p><p> Replace <code>apply(function, args, keywords)</code> with <code>function(*args, **keywords)</code>. </p> </recommendation> <references> <li>Python Standard Library: <a href="http://docs.python.org/2/library/functions.html#apply">apply</a>.</li> <li>Python PEP-290: <a href="http://www.python.org/dev/peps/pep-0290/">Code Migration and Modernization</a>.</li> </references> </qhelp> |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |