Is there pointer * in Python?

D

Davy

Hi all,

When I read "programming python", I found there is a code like
def parse(self, *text):
while text is a string. What's "*" mean?(Does it mean pointer like in
C?)

And I recall there is "**args" in Python, what's "**" mean?

Best regards,
Davy
 
M

Méta-MCI \(MVP\)

Hi!
like in C

Why think to C?
Why not Cobol? APL? Intercal?

For think right in Python, forget C, forget others languages, think
inside Python...



Michel Claveau
 
D

Donn Ingle

think inside Python...
Assuming you *can* think while being slowly crushed and digested :D

\d
 

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

Forum statistics

Threads
474,197
Messages
2,571,040
Members
47,634
Latest member
RonnyBoelk

Latest Threads

Top