Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andrew
intro
Commits
73c4ad1e
Commit
73c4ad1e
authored
May 02, 2019
by
JackV
Browse files
Parte riguardo args e kwargs
parent
f6f2441b
Changes
1
Show whitespace changes
Inline
Side-by-side
content.md
View file @
73c4ad1e
...
@@ -518,6 +518,15 @@ def f(a, b=3, c=6):
...
@@ -518,6 +518,15 @@ def f(a, b=3, c=6):
----
----
## \*args e \*\*kwargs
A volte ci tornerebbe comodo prendere una quantità indefinita di
argomenti, in questo caso gli
\*
args e
\*\*
kwargs vengono in nostro
aiuto
(N.B. Il nome
**args**
e
**kwargs**
è del tutto arbitrario, ma tuttavia
standandard de facto del linguaggio python)
----
## Scoping
## Scoping
-
Lo scoping determina la
**visibilità**
delle variabili
-
Lo scoping determina la
**visibilità**
delle variabili
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment