Where is the function of 'apply' always used?

Õ

ÕÅ´ºÔ½

I'am a beginner of Python.In the course of reading the Python book,I
found the function:apply;But
I don't understand its use.Help!
 
T

Terry Reedy

| I'am a beginner of Python.In the course of reading the Python book,I
| found the function:apply;But
| I don't understand its use.Help!

Apply has been deprecated. It has been replaced by the use of *args in
function calls.
It is only still present for old code and will disappear in 3.0.
So you do not need it and should ignore it for now.
 
B

bikthh

Â¥Ö÷,ΪºÎ²»ÓÃÖÐÓ¢ÓÖÓïÄØ?ÕâÀïÒ²ÓÐÆäËüÖйúÈ˵Ä.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,685
Members
48,796
Latest member
Greg L.

Latest Threads

Top