Skip to content

Commit 909f6d5

Browse files
MaratSafiullinYabbleMarat
andauthored
fix simple typo (#333)
Co-authored-by: Marat <[email protected]>
1 parent f198aef commit 909f6d5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

modules/40-define-functions/500-named-arguments/description.es.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ theory: |
3636
Esto último es útil cuando una función tiene muchos parámetros opcionales. Veamos un ejemplo:
3737
3838
```python
39-
def print_params(a=1, b=2, c=None, d=4):
39+
def print_params(a=1, b=2, c=3, d=4):
4040
print(a, b, c, d)
4141
4242
# Solo necesitamos pasar d, pero tenemos que pasar todos los demás

modules/40-define-functions/500-named-arguments/en/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ There are two reasons to use named arguments:
3232
The latter is useful if the function has many optional parameters. Let's look at an example:
3333

3434
```python
35-
def print_params(a=1, b=2, c=None, d=4):
35+
def print_params(a=1, b=2, c=3, d=4):
3636
print(a, b, c, d)
3737

3838
# You only need to pass d, but you have to pass all

modules/40-define-functions/500-named-arguments/es/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Hay dos razones para usar argumentos nombrados:
3232
Esto último es útil cuando una función tiene muchos parámetros opcionales. Veamos un ejemplo:
3333

3434
```python
35-
def print_params(a=1, b=2, c=None, d=4):
35+
def print_params(a=1, b=2, c=3, d=4):
3636
print(a, b, c, d)
3737

3838
# Solo necesitamos pasar d, pero tenemos que pasar todos los demás

modules/40-define-functions/500-named-arguments/ru/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ truncate(length=3, text='My Text')
3232
Последнее полезно, если у функции много необязательных параметров. Посмотрим на примере:
3333

3434
```python
35-
def print_params(a=1, b=2, c=None, d=4):
35+
def print_params(a=1, b=2, c=3, d=4):
3636
print(a, b, c, d)
3737

3838
# Нужно передать только d, но приходится передавать все

0 commit comments

Comments
 (0)