Documentation strings (or docstrings) are used to create easily-accessible documentation.
Documentatie strings (of docstrings) worden gebruikt om makkelijk toegankelijke documentatie te maken.
Most professional Python programmers will only use this type of multi-line comment for something called docstrings.
De meeste Python programmeurs zullen deze soort van commentaar alleen gebruiken als docstrings.
Alte rezultate
Add a docstring to the class that explains what the algorithm does.
Voeg een docstring toe aan de klasse die uitlegt wat het algoritme doet.
This comment is delimited using three double quotes, and is called a docstring.
Deze commentaart is afgebakend met drie dubbele quotes en wordt de docstring genoemd.
You can add a docstring to a function, class, or module by adding a string as the first indented statement.
Men kan een docstring toevoegen aan een functie, klasse of module door een string toe te voegen als het eerste geïndenteerde statement.
The first is the comment also called a docstring followed by the command pass.
De eerste regel is de opmerking, ook wel de "docstring" genoemd, gevolgd door het commando pass.
Example Remark: If you use the test examples below for a docstring, you should know that a single quotation mark that is used in the string that was given as second argument to the initializing method of the class Bifid, must get a double escape.
Voorbeeld Opmerking: Indien je onderstaande testvoorbeelden opneemt in een docstring, let er dan op dat het enkele aanhalingsteken dat gebruikt wordt in de string die als tweede argument wordt doorgegeven aan de initialisatiemethode van de klasse Bifid, een dubbele escape moet meekrijgen.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.