11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2018 , Python Software Foundation
2+ # Copyright (C) 2001-2019 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
77# ww song <[email protected] >, 201888# zc Jin <[email protected] >, 201899# Freesand Leo <[email protected] >, 201810+ # akira asura <[email protected] >, 20191011#
1112#, fuzzy
1213msgid ""
1314msgstr ""
1415"Project-Id-Version : Python 3.7\n "
1516"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2018-11-27 09:51 +0900\n "
17+ "POT-Creation-Date : 2019-01-01 10:14 +0900\n "
1718"PO-Revision-Date : 2017-02-16 23:12+0000\n "
18- "
Last-Translator :
Freesand Leo <[email protected] >, 2018 \n"
19+ "
Last-Translator :
akira asura <[email protected] >, 2019 \n"
1920"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2021"MIME-Version : 1.0\n "
2122"Content-Type : text/plain; charset=UTF-8\n "
@@ -27,22 +28,23 @@ msgstr ""
2728msgid ""
2829":mod:`functools` --- Higher-order functions and operations on callable "
2930"objects"
30- msgstr ""
31+ msgstr ":mod:`functools` --- 高阶函数和可调用对象上的操作 "
3132
3233#: ../../library/functools.rst:13
3334msgid "**Source code:** :source:`Lib/functools.py`"
34- msgstr ""
35+ msgstr "**源代码:** :source:`Lib/functools.py` "
3536
3637#: ../../library/functools.rst:17
3738msgid ""
3839"The :mod:`functools` module is for higher-order functions: functions that "
3940"act on or return other functions. In general, any callable object can be "
4041"treated as a function for the purposes of this module."
4142msgstr ""
43+ ":mod:`functools` 模块应用于高阶函数,即——参数或(和)返回值为其他函数的函数。通常来说,此模块的功能适用于所有可调用对象。"
4244
4345#: ../../library/functools.rst:21
4446msgid "The :mod:`functools` module defines the following functions:"
45- msgstr ""
47+ msgstr ":mod:`functools` 模块定义了以下函数: "
4648
4749#: ../../library/functools.rst:25
4850msgid ""
@@ -53,6 +55,10 @@ msgid ""
5355" tool for programs being converted from Python 2 which supported the use of "
5456"comparison functions."
5557msgstr ""
58+ "将旧式的比较函数转换为新式的 :term:`key function`. 在类似于:func:`sorted`, :func:`min`, "
59+ ":func:`max`, :func:`heapq.nlargest`, "
60+ ":func:`heapq.nsmallest`,:func:`itertools.groupby`等函数的`key`参数中使用。此函数主要用于转换Python"
61+ " 2程序至新版的转换工具,从而保持对旧式比较函数的兼容。"
5662
5763#: ../../library/functools.rst:32
5864msgid ""
0 commit comments