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

Commit3cd0e41

Browse files
authored
C API Typehints translation (#1644)
* first translations* Minor fixes* meth fix
1 parent2938b63 commit3cd0e41

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

‎c-api/typehints.po

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,35 @@
44
# package.
55
# FIRST AUTHOR <EMAIL@ADDRESS>, 2021.
66
#
7-
#,fuzzy
87
msgid ""
98
msgstr ""
109
"Project-Id-Version:Python en Español 3.10\n"
1110
"Report-Msgid-Bugs-To:\n"
1211
"POT-Creation-Date:2021-10-16 21:42+0200\n"
13-
"PO-Revision-Date:YEAR-MO-DA HO:MI+ZONE\n"
14-
"Last-Translator:FULL NAME <EMAIL@ADDRESS>\n"
15-
"Language-Team:LANGUAGE <LL@li.org>\n"
12+
"PO-Revision-Date:2021-11-16 22:14-0600\n"
1613
"MIME-Version:1.0\n"
17-
"Content-Type:text/plain; charset=utf-8\n"
14+
"Content-Type:text/plain; charset=UTF-8\n"
1815
"Content-Transfer-Encoding:8bit\n"
1916
"Generated-By:Babel 2.9.1\n"
17+
"Plural-Forms:nplurals=2; plural=(n != 1);\n"
18+
"Last-Translator:Erick G. Islas Osuna <erickisos653@gmail.com>\n"
19+
"Language-Team:\n"
20+
"Language:es\n"
21+
"X-Generator:Poedit 3.0\n"
2022

2123
#:../Doc/c-api/typehints.rst:6
2224
msgid"Objects for Type Hinting"
23-
msgstr""
25+
msgstr"Objetos para indicaciones de tipado"
2426

2527
#:../Doc/c-api/typehints.rst:8
2628
msgid""
2729
"Various built-in types for type hinting are provided. Currently, two types "
2830
"exist -- :ref:`GenericAlias <types-genericalias>` and :ref:`Union <types-"
2931
"union>`. Only ``GenericAlias`` is exposed to C."
3032
msgstr""
33+
"Se proporcionan varios tipos incorporados para indicaciones de tipado. "
34+
"Actualmente existen dos tipos -- :ref:`GenericAlias <types-genericalias>` y :"
35+
"ref:`Union <types-union>`. Solo ``GenericAlias`` es expuesto a C."
3136

3237
#:../Doc/c-api/typehints.rst:14
3338
msgid""
@@ -43,17 +48,31 @@ msgid ""
4348
"lazily from ``__args__``. On failure, an exception is raised and ``NULL`` "
4449
"is returned."
4550
msgstr""
51+
"Crea un objeto :ref:`GenericAlias <types-genericalias>`. Equivalente a "
52+
"llamar la clase de Python :class:`types.GenericAlias`. Los argumentos "
53+
"*origin* y *args* configuran los atributos ``__origin__`` y ``__args__`` de "
54+
"``GenericAlias`` respectivamente. *origin* debe ser un :c:type:"
55+
"`PyTypeObject*`, y *args* puede ser un :c:type:`PyTupleObject*` o cualquier "
56+
"``PyObject*``. Si el valor de *args* no es una tupla, un 1-tupla es "
57+
"automáticamente construida y ``__args__`` es configurado como ``(args,)``. "
58+
"Para los argumentos se realiza un chequeo mínimo, de esta manera la función "
59+
"tendrá éxito incluso si *origin* no es un tipo. El atributo "
60+
"``__parameters__`` de ``GenericAlias`` es construido de forma diferida a "
61+
"partir de ``__args__``. Si existe una falla, se levantará una excepción y se "
62+
"retornará ``NULL``."
4663

4764
#:../Doc/c-api/typehints.rst:28
4865
msgid"Here's an example of how to make an extension type generic::"
49-
msgstr""
66+
msgstr"Aquí hay un ejemplo sobre cómo hacer un tipo de extensión genérica::"
5067

5168
#:../Doc/c-api/typehints.rst:38
5269
msgid"The data model method :meth:`__class_getitem__`."
53-
msgstr""
70+
msgstr"El método del modelo de datos :meth:`__class_getitem__`."
5471

5572
#:../Doc/c-api/typehints.rst:44
5673
msgid""
5774
"The C type of the object returned by :c:func:`Py_GenericAlias`. Equivalent "
5875
"to :class:`types.GenericAlias` in Python."
5976
msgstr""
77+
"El tipo en C del objeto retornado por :c:func:`Py_GenericAlias`. Equivalente "
78+
"a :class:`types.GenericAlias` en Python."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp