docs/tutorials/topic-tutorial.t
author Pulkit Goyal <7895pulkit@gmail.com>
Fri, 16 Mar 2018 12:48:03 +0530
changeset 3550 78d3ba4e17ac
parent 2824 d0e3a8e0b62c
permissions lrwxrwxrwx
next: cleanup logic around return by returning early In the cmdnext function, there are some conditionals which returns early and some which sets a result value to be returned later. Let's return from all the conditionals early. There are if, elif and else involved, so it's sure we will end up in one of the conditional, each conditional will return, so it's guranteed that we are returning the correct value and returning everytime.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2824
d0e3a8e0b62c docs: move the topic tutorial in the documentation
Boris Feld <boris.feld@octobus.net>
parents:
diff changeset
     1
../../tests/test-topic-tutorial.t