Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
christopheNan merged 3 commits intopython:3.7frompiotch:lib/functools
Jul 16, 2018
Merged

Work on functools#225

christopheNan merged 3 commits intopython:3.7frompiotch:lib/functools
Jul 16, 2018

Conversation

piotch
Copy link
Contributor

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

@LinkidLinkid 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

@christopheNanchristopheNan 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".

@christopheNanchristopheNan merged commitfba81e5 intopython:3.7Jul 16, 2018
JulienPalard pushed a commit that referenced this pull requestNov 23, 2023
Closes#224Reviewed-on:https://git.afpy.org/AFPy/python-docs-fr/pulls/225Reviewed-by: Yannick Gingras <ygingras@noreply.localhost>Co-authored-by: eviau <info@eviau.net>Co-committed-by: eviau <info@eviau.net>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@christopheNanchristopheNanchristopheNan left review comments

@JulienPalardJulienPalardJulienPalard requested changes

@LinkidLinkidLinkid approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@piotch@JulienPalard@Linkid@christopheNan

[8]ページ先頭

©2009-2025 Movatter.jp