Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

comments.html 1.8KB

4 jaren geleden
123456789101112131415161718192021222324252627282930313233343536373839
  1. <div class="comment" typeof="schema:UserComments">
  2. <p class="comment-meta">
  3. <span class="comment-author" property="schema:creator">tarek</span> le <span class="comment-date" property="schema:commentTime">05/03/2006</span> :
  4. </p>
  5. <div class="comment-content" property="schema:commentText">
  6. <p>Pour le PEP 328, l'import multiligne a déjà été implémenté dans Python 2.4</p>
  7. </div>
  8. </div>
  9. <div class="comment" typeof="schema:UserComments">
  10. <p class="comment-meta">
  11. <span class="comment-author" property="schema:creator">S.F.</span> le <span class="comment-date" property="schema:commentTime">12/03/2006</span> :
  12. </p>
  13. <div class="comment-content" property="schema:commentText">
  14. <p>Si j'ai bien compris, les fonctions partielles permettent de donner une valeur à un argument d'une fonction. Ainsi,<br />
  15. <br />
  16. g = functional.partial(f, arg1 = 1')<br />
  17. <br />
  18. serait équivalent à<br />
  19. <br />
  20. g = lambda x, y: f(1, x, y)</p>
  21. </div>
  22. </div>
  23. <div class="comment" typeof="schema:UserComments">
  24. <p class="comment-meta">
  25. <span class="comment-author" property="schema:creator">David, biologeek</span> le <span class="comment-date" property="schema:commentTime">19/03/2006</span> :
  26. </p>
  27. <div class="comment-content" property="schema:commentText">
  28. <p>Merci pour ces précisions nud, c'était donc bien pour remplacer lambda.</p>
  29. </div>
  30. </div>
  31. <div class="comment" typeof="schema:UserComments">
  32. <p class="comment-meta">
  33. <span class="comment-author" property="schema:creator">David</span> le <span class="comment-date" property="schema:commentTime">31/07/2006</span> :
  34. </p>
  35. <div class="comment-content" property="schema:commentText">
  36. <p>sympa le &quot;with locked&quot;, j'en aurai besoin NOW !</p>
  37. </div>
  38. </div>