GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — codeql/python/ql/src/Expressions/UseofApply.qhelp at codeql-cli/v2.19.1 · github/codeql

Expand file tree

/

UseofApply.qhelp

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
28 lines (20 loc) · 767 Bytes
/

UseofApply.qhelp

Copy path

File metadata and controls

28 lines (20 loc) · 767 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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.