Skip to content

Work on functools #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 16, 2018
Merged

Work on functools #225

merged 3 commits into from
Jul 16, 2018

Conversation

piotch
Copy link
Contributor

@piotch piotch commented Jul 12, 2018

No description provided.

"l'opération pour ce type ::"
"l'attribut :func:`register` de la fonction générique. C'est un décorateur. "
"Pour les fonctions annotées avec des types, le décorateur infère le type du "
"premier argument automatiquement::"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il manque un espace insécable avant le "::". Si tu ne sais pas taper d'espace insécable, tu peux écrire " : ::" (espace, deux points, espace, deux points deux points).


#: ../Doc/library/functools.rst:301
msgid ""
"For code which doesn't use type annotations, the appropriate type argument "
"can be passed explicitly to the decorator itself::"
msgstr ""
"Pour le code qui n’utilise pas les annotations de type, l’argument du type "
"souhaité peut être passé explicitement au décorateur::"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

la même.

@@ -430,6 +431,7 @@ msgstr ""
#: ../Doc/library/functools.rst:382
msgid "The :func:`register` attribute supports using type annotations."
msgstr ""
"L’attribut :func:`register` support l’utilisation des annotations de type."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/support/gère/ ou peut être accepte.

Copy link
Contributor

@Linkid Linkid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super :).
J'ai juste laissé une petite note pour améliorer la compréhension.


#: ../Doc/library/functools.rst:301
msgid ""
"For code which doesn't use type annotations, the appropriate type argument "
"can be passed explicitly to the decorator itself::"
msgstr ""
"Pour le code qui n’utilise pas les annotations de type, l’argument du type "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je dirais plutôt : « […] le type southaité peut être passé explicitement en argument au décorateur […] ».

Copy link
Contributor

@christopheNan christopheNan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je crois que nous avons commencé à traduire "type annotations" par "indications de types".

@christopheNan christopheNan merged commit fba81e5 into python:3.7 Jul 16, 2018
JulienPalard pushed a commit that referenced this pull request Nov 23, 2023
Closes #224

Reviewed-on: https://git.afpy.org/AFPy/python-docs-fr/pulls/225
Reviewed-by: Yannick Gingras <ygingras@noreply.localhost>
Co-authored-by: eviau <info@eviau.net>
Co-committed-by: eviau <info@eviau.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants