الفرق بين المراجعتين لصفحة: «دليل الرسائل القصيرة السريعة للمطورين/توثيق البرنامج بستخدام inline و docstring»

تم حذف المحتوى تمت إضافة المحتوى
أنشأ الصفحة ب'<pre> def help(self, message): ''' Displays how to use the commands ''' message.respond("Please enter : [Surname,Name,Sex,Age(M:Male,F:Female)]") ...'
 
لا ملخص تعديل
سطر 1:
<sub><pre>
def help(self, message):
 
سطر 32:
find: list of people in activity '''
</pre>
 
In the above example, notice how we wrote the Docstring for our calls, usually the first line just give a brief about you program and what it does. The lines after we usually list all the functions we wrote in out class and give a definition for each function.
So if you let check how Help command displays our Docstring for the above example:
<pre>
| Survey RapidSMS App
السطر 73 ⟵ 72:
 
{{chapter navigation|Internationalization|Customizing Admin U.I}}
</sub>