@@ -316,6 +316,8 @@ msgid ""
316316"exact information included depends on the OS; e.g., on Linux, the kernel "
317317"version isn't particularly important."
318318msgstr ""
319+ "这主要被用来区分平台专属的构建目录和平台专属的构建分发版。 通常包括 OS 名称和版本以及架构(即 'os.uname()' "
320+ "所提供的信息),但是实际包括的信息取决于具体 OS;例如,在 Linux 上,内核版本号并不是特别重要。"
319321
320322#: ../../library/sysconfig.rst:180
321323msgid "Examples of returned values:"
@@ -343,7 +345,7 @@ msgstr "win-amd64 (在 AMD64, aka x86_64, Intel64, 和 EM64T上的64位 Windows
343345
344346#: ../../library/sysconfig.rst:189
345347msgid "win32 (all others - specifically, sys.platform is returned)"
346- msgstr ""
348+ msgstr "win32(所有其他的 —— 确切地说,返回 sys.platform) "
347349
348350#: ../../library/sysconfig.rst:191
349351msgid "Mac OS X can return:"
@@ -376,21 +378,23 @@ msgid ""
376378"is being run from its built location, and not from a location resulting from"
377379" e.g. running ``make install`` or installing via a binary installer."
378380msgstr ""
381+ "如果正在运行的 Python 解释器是使用源代码构建的并在其构建位置上运行,而不是在其他位置例如通过运行 ``make install`` "
382+ "或通过二进制机器码安装程序安装则返回 ``True``。"
379383
380384#: ../../library/sysconfig.rst:210
381385msgid "Parse a :file:`config.h`\\ -style file."
382- msgstr ""
386+ msgstr "解析一个 :file:`config.h` 风格的文件。 "
383387
384388#: ../../library/sysconfig.rst:212
385389msgid "*fp* is a file-like object pointing to the :file:`config.h`\\ -like file."
386- msgstr ""
390+ msgstr "*fp* 是一个指向 :file:`config.h` 风格的文件的文件类对象。 "
387391
388392#: ../../library/sysconfig.rst:214
389393msgid ""
390394"A dictionary containing name/value pairs is returned. If an optional "
391395"dictionary is passed in as the second argument, it is used instead of a new "
392396"dictionary, and updated with the values read in the file."
393- msgstr ""
397+ msgstr "返回一个包含名称/值对的字典。 如果传入一个可选的字典作为第二个参数,则将使用它而不是新的字典,并使用从文件中读取的值更新它。 "
394398
395399#: ../../library/sysconfig.rst:221
396400msgid "Return the path of :file:`pyconfig.h`."
@@ -402,15 +406,17 @@ msgstr "返回 :file:`Makefile` 的目录"
402406
403407#: ../../library/sysconfig.rst:228
404408msgid "Using :mod:`sysconfig` as a script"
405- msgstr ""
409+ msgstr "使用 :mod:`sysconfig` 作为脚本as a script "
406410
407411#: ../../library/sysconfig.rst:230
408412msgid "You can use :mod:`sysconfig` as a script with Python's *-m* option:"
409- msgstr ""
413+ msgstr "使用通过 Python 的 *-m* 将 :mod:`sysconfig` 作为脚本使用: "
410414
411415#: ../../library/sysconfig.rst:256
412416msgid ""
413417"This call will print in the standard output the information returned by "
414418":func:`get_platform`, :func:`get_python_version`, :func:`get_path` and "
415419":func:`get_config_vars`."
416420msgstr ""
421+ "此调用将把 :func:`get_platform`, :func:`get_python_version`, :func:`get_path` 和 "
422+ ":func:`get_config_vars` 所返回的信息打印至标准输出。"
0 commit comments