Skip to content

Conversation

@pshop
Copy link
Contributor

@pshop pshop commented Oct 5, 2018

No description provided.

library/pydoc.po Outdated
"system, such as a slash in Unix), and refers to an existing Python source "
"file, then documentation is produced for that file."
msgstr ""
"dans un terminal de commande, cela affichera la documentation du module :mod:"
Copy link
Member

Choose a reason for hiding this comment

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

Pas fan de "terminal de commande", tu peux peut être simplement dire "dans un terminal" (ce qui est un abus, on a plus de terminaux, on a des émulateurs de terminaux) ou alors "Interface en ligne de commande". Ou même "Dans un shell" tout simplement ?

library/pydoc.po Outdated
"dans un terminal de commande, cela affichera la documentation du module :mod:"
"`sys` dans un style similaire à la commande Unix :program:`man`. On peut "
"passer comme argument à :program:`pydoc` le nom d’une fonction, d’un module, "
"d’un package, ou une référence pointant vers une classe, une méthode, ou une "
Copy link
Member

Choose a reason for hiding this comment

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

s/package/paquet/

library/pydoc.po Outdated
"executed on that occasion. Use an ``if __name__ == '__main__':`` guard to "
"only execute code when a file is invoked as a script and not just imported."
msgstr ""
"Afin de trouver des objets et leur documentation, :mod:`pydoc` importe le.s "
Copy link
Member

Choose a reason for hiding this comment

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

Pas fan de "le.s" tu peux mettre "le ou les modules" ?

library/pydoc.po Outdated
"to be written out to a file in the current directory, instead of displaying "
"text on the console."
msgstr ""
"Ajouter une option ``-w``avant l’argument entrainera l’enregistrement de la "
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 après le ``, avant avant..

library/pydoc.po Outdated
"system, such as a slash in Unix), and refers to an existing Python source "
"file, then documentation is produced for that file."
msgstr ""
"dans un terminal, cela affichera la documentation du module :mod:`sys` dans "
Copy link
Contributor

Choose a reason for hiding this comment

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

futur pas indispensable.

library/pydoc.po Outdated
"ou une référence pointant vers une classe, une méthode, ou une fonction dans "
"un module ou dans un paquet. Si l’argument passé à :program:`pydoc` est un "
"chemin (c.à.d qu’il contient des séparateurs de chemin tels que la barre "
"oblique ``/`` dans Unix), et réfère à un fichier source Python existant, "
Copy link
Contributor

Choose a reason for hiding this comment

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

s/réfère/fait référence/

library/pydoc.po Outdated
msgstr ""
"Lorsque l’on affiche une sortie sur la console, :program:`pydoc` essaye de "
"créer une pagination pour faciliter la lecture. Si la variable "
"d’environnement :envvar:`PAGER` est configurée, :program:`pydoc` utilisera "
Copy link
Contributor

Choose a reason for hiding this comment

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

futur non indispensable.

library/pydoc.po Outdated
"to be written out to a file in the current directory, instead of displaying "
"text on the console."
msgstr ""
"Ajouter une option ``-w`` avant l’argument entrainera l’enregistrement de la "
Copy link
Contributor

Choose a reason for hiding this comment

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

futur non indispensable.

library/pydoc.po Outdated
"manner similar to the Unix :program:`man` command. The synopsis line of a "
"module is the first line of its documentation string."
msgstr ""
"Ajouter une option ``-w`` avant l’argument cherchera les lignes de résumé de "
Copy link
Contributor

Choose a reason for hiding this comment

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

futur non indispensable.

library/pydoc.po Outdated
"the server responds to. During development this is especially useful if you "
"want to run pydoc from within a container."
msgstr ""
":program:`pydoc -n <hostname>` démarrera le serveur en écoutant sur le port "
Copy link
Contributor

Choose a reason for hiding this comment

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

futur non indispensable.

library/pydoc.po Outdated
msgstr ""
":program:`pydoc -n <hostname>` démarrera le serveur en écoutant sur le port "
"donné en argument. Par défaut le nom d’hôte est ‘*localhost*’ mais si vous "
"voulez que le serveur soit joignable par d’autres machines, vous pourriez "
Copy link
Contributor

Choose a reason for hiding this comment

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

s/pourriez .../avez la possibilité de changer le nom/ (le français est plus direct que l'anglais)

library/pydoc.po Outdated
"with a keyword in their synopsis line, and go to the *Module index*, "
"*Topics* and *Keywords* pages."
msgstr ""
":program:`pydoc -b` démarrera le serveur et ouvrira en plus un navigateur "
Copy link
Contributor

Choose a reason for hiding this comment

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

futur non indispensable.

library/pydoc.po Outdated
"Quand :program:`pydoc` génère de la documentation, il utilise "
"l’environnement et le chemin courant pour localiser les modules. Ainsi, en "
"invoquant les documents :program:`pydoc spam` en précisant la version du "
"module, vous devriez obtenir le même résultat qu’en lançant l’interpréteur "
Copy link
Contributor

Choose a reason for hiding this comment

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

s/devriez obtenir/obtenez/

@JulienPalard JulienPalard merged commit b03a46c into python:3.7 Oct 5, 2018
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.

3 participants