Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 3.1 PEP 8 – Introduction
- * **pycodestyle** (formerly called pep8, but the name was changed to avoid confusion) - Python style gu... st_one = [1, 2, 3, 4, 5, 6 ] a = my_function_name(a, b, c, d, e, f) </code> <code python ✔> #... 1, 2, 3, 4, 5, 6, ] a = my_function_name(a, b, c, d, e, f) </code> ... ituations where your comments or docstrings use a name (e.g., an author’s name) that contains a non-ASCI
- 2.1 PEP 20 – The Zen of Python
- ty. Giving self-explanatory variable and function names, or adding more explicitness to imports or funct... e it saving time by having to think up meaningful names, the effort taken to format your code, or any ot... rs to develop in the future. Giving **meaningful names** to variables, functions, modules, and classes;... r guessing. Give your variables **self-commenting names**, and **leave comments** where necessary. If yo
- 4.1 PEP 257 – Docstring Conventions
- o understand this essential distinction (as their names suggest): comments are used for **commenting** y... nsibly comments itself (e.g. give self-commenting names to variables). == When use comments? Apart from... up in the development process, and label specific names with type information. In a nutshell, type hint... ode python># No type information added: def hello(name): return "Hello, " + name # Type informatio
- 1.1 What is PEP?
- and football manager, Josep Guardiola, whose nickname is (guess what) Pep; * those who have medical j