Commit 97f8311
Mention some possible errors in the python intro (DjangoGirls#933)
* Mention some possible errors in the python intro
When showing how to define a function, mention some
things that can go wrong, instead of saying "that was easy"
From @vrutkovs suggestion in issue DjangoGirls#196:
> People usually read the chapter line by line and get confused that
> things break (on such an early stage). The coach has to know this
> situation in beforehand and warn the student (I almost filed a bug about
> incorrect syntax in the example)
* Improve information about things that can go wrong
- Use a list to make this section more distinct
- Mention what happens if you indent the function call itself1 parent 4f89a4d commit 97f8311
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
796 | | - | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
797 | 802 | | |
798 | 803 | | |
799 | 804 | | |
| |||
0 commit comments