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.
Andere resultaten
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.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.