| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 93e92a8 commit 6f9c59f
22 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2025-11-13 18:32+0000\n" | ||
| 14 | + "POT-Creation-Date: 2025-11-19 14:14+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -599,6 +599,113 @@ msgid "" | |||
| 599 | 599 | "always succeeds." | |
| 600 | 600 | msgstr "" | |
| 601 | 601 | ||
| 602 | + #: ../../c-api/dict.rst:483 | ||
| 603 | + msgid "Ordered Dictionaries" | ||
| 604 | + msgstr "" | ||
| 605 | + | ||
| 606 | + #: ../../c-api/dict.rst:485 | ||
| 607 | + msgid "" | ||
| 608 | + "Python's C API provides interface for :class:`collections.OrderedDict` from " | ||
| 609 | + "C. Since Python 3.7, dictionaries are ordered by default, so there is " | ||
| 610 | + "usually little need for these functions; prefer ``PyDict*`` where possible." | ||
| 611 | + msgstr "" | ||
| 612 | + | ||
| 613 | + #: ../../c-api/dict.rst:492 | ||
| 614 | + msgid "" | ||
| 615 | + "Type object for ordered dictionaries. This is the same object as :class:" | ||
| 616 | + "`collections.OrderedDict` in the Python layer." | ||
| 617 | + msgstr "" | ||
| 618 | + | ||
| 619 | + #: ../../c-api/dict.rst:498 | ||
| 620 | + msgid "" | ||
| 621 | + "Return true if *od* is an ordered dictionary object or an instance of a " | ||
| 622 | + "subtype of the :class:`~collections.OrderedDict` type. This function always " | ||
| 623 | + "succeeds." | ||
| 624 | + msgstr "" | ||
| 625 | + | ||
| 626 | + #: ../../c-api/dict.rst:505 | ||
| 627 | + msgid "" | ||
| 628 | + "Return true if *od* is an ordered dictionary object, but not an instance of " | ||
| 629 | + "a subtype of the :class:`~collections.OrderedDict` type. This function " | ||
| 630 | + "always succeeds." | ||
| 631 | + msgstr "" | ||
| 632 | + | ||
| 633 | + #: ../../c-api/dict.rst:512 | ||
| 634 | + msgid "Analogous to :c:type:`PyDictKeys_Type` for ordered dictionaries." | ||
| 635 | + msgstr "" | ||
| 636 | + | ||
| 637 | + #: ../../c-api/dict.rst:517 | ||
| 638 | + msgid "Analogous to :c:type:`PyDictValues_Type` for ordered dictionaries." | ||
| 639 | + msgstr "" | ||
| 640 | + | ||
| 641 | + #: ../../c-api/dict.rst:522 | ||
| 642 | + msgid "Analogous to :c:type:`PyDictItems_Type` for ordered dictionaries." | ||
| 643 | + msgstr "" | ||
| 644 | + | ||
| 645 | + #: ../../c-api/dict.rst:527 | ||
| 646 | + msgid "Return a new empty ordered dictionary, or ``NULL`` on failure." | ||
| 647 | + msgstr "" | ||
| 648 | + | ||
| 649 | + #: ../../c-api/dict.rst:529 | ||
| 650 | + msgid "This is analogous to :c:func:`PyDict_New`." | ||
| 651 | + msgstr "" | ||
| 652 | + | ||
| 653 | + #: ../../c-api/dict.rst:534 | ||
| 654 | + msgid "" | ||
| 655 | + "Insert *value* into the ordered dictionary *od* with a key of *key*. Return " | ||
| 656 | + "``0`` on success or ``-1`` with an exception set on failure." | ||
| 657 | + msgstr "" | ||
| 658 | + | ||
| 659 | + #: ../../c-api/dict.rst:537 | ||
| 660 | + msgid "This is analogous to :c:func:`PyDict_SetItem`." | ||
| 661 | + msgstr "" | ||
| 662 | + | ||
| 663 | + #: ../../c-api/dict.rst:542 | ||
| 664 | + msgid "" | ||
| 665 | + "Remove the entry in the ordered dictionary *od* with key *key*. Return ``0`` " | ||
| 666 | + "on success or ``-1`` with an exception set on failure." | ||
| 667 | + msgstr "" | ||
| 668 | + | ||
| 669 | + #: ../../c-api/dict.rst:545 | ||
| 670 | + msgid "This is analogous to :c:func:`PyDict_DelItem`." | ||
| 671 | + msgstr "" | ||
| 672 | + | ||
| 673 | + #: ../../c-api/dict.rst:548 | ||
| 674 | + msgid "These are :term:`soft deprecated` aliases to ``PyDict`` APIs:" | ||
| 675 | + msgstr "" | ||
| 676 | + | ||
| 677 | + #: ../../c-api/dict.rst:555 | ||
| 678 | + msgid "``PyODict``" | ||
| 679 | + msgstr "" | ||
| 680 | + | ||
| 681 | + #: ../../c-api/dict.rst:556 | ||
| 682 | + msgid "``PyDict``" | ||
| 683 | + msgstr "" | ||
| 684 | + | ||
| 685 | + #: ../../c-api/dict.rst:558 | ||
| 686 | + msgid ":c:func:`PyDict_GetItem`" | ||
| 687 | + msgstr "" | ||
| 688 | + | ||
| 689 | + #: ../../c-api/dict.rst:560 | ||
| 690 | + msgid ":c:func:`PyDict_GetItemWithError`" | ||
| 691 | + msgstr "" | ||
| 692 | + | ||
| 693 | + #: ../../c-api/dict.rst:562 | ||
| 694 | + msgid ":c:func:`PyDict_GetItemString`" | ||
| 695 | + msgstr "" | ||
| 696 | + | ||
| 697 | + #: ../../c-api/dict.rst:564 | ||
| 698 | + msgid ":c:func:`PyDict_Contains`" | ||
| 699 | + msgstr "" | ||
| 700 | + | ||
| 701 | + #: ../../c-api/dict.rst:566 | ||
| 702 | + msgid ":c:func:`PyDict_Size`" | ||
| 703 | + msgstr "" | ||
| 704 | + | ||
| 705 | + #: ../../c-api/dict.rst:568 | ||
| 706 | + msgid ":c:func:`PyDict_GET_SIZE`" | ||
| 707 | + msgstr "" | ||
| 708 | + | ||
| 602 | 709 | #: ../../c-api/dict.rst:8 | |
| 603 | 710 | msgid "object" | |
| 604 | 711 | msgstr "object" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.14\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2025-11-13 14:15+0000\n" | ||
| 14 | + "POT-Creation-Date: 2025-11-19 14:14+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -139,59 +139,99 @@ msgid "" | |||
| 139 | 139 | msgstr "" | |
| 140 | 140 | ||
| 141 | 141 | #: ../../c-api/float.rst:101 | |
| 142 | + msgid "Equivalent to :c:macro:`!INFINITY`." | ||
| 143 | + msgstr "" | ||
| 144 | + | ||
| 145 | + #: ../../c-api/float.rst:103 | ||
| 146 | + msgid "The macro is :term:`soft deprecated`." | ||
| 147 | + msgstr "" | ||
| 148 | + | ||
| 149 | + #: ../../c-api/float.rst:109 | ||
| 142 | 150 | msgid "" | |
| 143 | 151 | "The definition (accurate for a :c:expr:`double` type) of the :data:`math.e` " | |
| 144 | 152 | "constant." | |
| 145 | 153 | msgstr "" | |
| 146 | 154 | ||
| 147 | - #: ../../c-api/float.rst:106 | ||
| 155 | + #: ../../c-api/float.rst:114 | ||
| 148 | 156 | msgid "High precision (long double) definition of :data:`~math.e` constant." | |
| 149 | 157 | msgstr "" | |
| 150 | 158 | ||
| 151 | - #: ../../c-api/float.rst:111 | ||
| 159 | + #: ../../c-api/float.rst:119 | ||
| 152 | 160 | msgid "" | |
| 153 | 161 | "The definition (accurate for a :c:expr:`double` type) of the :data:`math.pi` " | |
| 154 | 162 | "constant." | |
| 155 | 163 | msgstr "" | |
| 156 | 164 | ||
| 157 | - #: ../../c-api/float.rst:116 | ||
| 165 | + #: ../../c-api/float.rst:124 | ||
| 158 | 166 | msgid "High precision (long double) definition of :data:`~math.pi` constant." | |
| 159 | 167 | msgstr "" | |
| 160 | 168 | ||
| 161 | - #: ../../c-api/float.rst:121 | ||
| 169 | + #: ../../c-api/float.rst:129 | ||
| 162 | 170 | msgid "" | |
| 163 | 171 | "The definition (accurate for a :c:expr:`double` type) of the :data:`math." | |
| 164 | 172 | "tau` constant." | |
| 165 | 173 | msgstr "" | |
| 166 | 174 | ||
| 167 | - #: ../../c-api/float.rst:128 | ||
| 175 | + #: ../../c-api/float.rst:136 | ||
| 168 | 176 | msgid "Return :data:`math.nan` from a function." | |
| 169 | 177 | msgstr "" | |
| 170 | 178 | ||
| 171 | - #: ../../c-api/float.rst:130 | ||
| 179 | + #: ../../c-api/float.rst:138 | ||
| 172 | 180 | msgid "" | |
| 173 | 181 | "On most platforms, this is equivalent to ``return PyFloat_FromDouble(NAN)``." | |
| 174 | 182 | msgstr "" | |
| 175 | 183 | ||
| 176 | - #: ../../c-api/float.rst:135 | ||
| 184 | + #: ../../c-api/float.rst:143 | ||
| 177 | 185 | msgid "" | |
| 178 | 186 | "Return :data:`math.inf` or :data:`-math.inf <math.inf>` from a function, " | |
| 179 | 187 | "depending on the sign of *sign*." | |
| 180 | 188 | msgstr "" | |
| 181 | 189 | ||
| 182 | - #: ../../c-api/float.rst:138 | ||
| 190 | + #: ../../c-api/float.rst:146 | ||
| 183 | 191 | msgid "On most platforms, this is equivalent to the following::" | |
| 184 | 192 | msgstr "" | |
| 185 | 193 | ||
| 186 | - #: ../../c-api/float.rst:140 | ||
| 194 | + #: ../../c-api/float.rst:148 | ||
| 187 | 195 | msgid "return PyFloat_FromDouble(copysign(INFINITY, sign));" | |
| 188 | 196 | msgstr "" | |
| 189 | 197 | ||
| 190 | - #: ../../c-api/float.rst:144 | ||
| 198 | + #: ../../c-api/float.rst:153 | ||
| 199 | + msgid "" | ||
| 200 | + "Return ``1`` if the given floating-point number *X* is finite, that is, it " | ||
| 201 | + "is normal, subnormal or zero, but not infinite or NaN. Return ``0`` " | ||
| 202 | + "otherwise." | ||
| 203 | + msgstr "" | ||
| 204 | + | ||
| 205 | + #: ../../c-api/float.rst:157 | ||
| 206 | + msgid "" | ||
| 207 | + "The macro is :term:`soft deprecated`. Use :c:macro:`!isfinite` instead." | ||
| 208 | + msgstr "" | ||
| 209 | + | ||
| 210 | + #: ../../c-api/float.rst:163 | ||
| 211 | + msgid "" | ||
| 212 | + "Return ``1`` if the given floating-point number *X* is positive or negative " | ||
| 213 | + "infinity. Return ``0`` otherwise." | ||
| 214 | + msgstr "" | ||
| 215 | + | ||
| 216 | + #: ../../c-api/float.rst:166 | ||
| 217 | + msgid "The macro is :term:`soft deprecated`. Use :c:macro:`!isinf` instead." | ||
| 218 | + msgstr "" | ||
| 219 | + | ||
| 220 | + #: ../../c-api/float.rst:172 | ||
| 221 | + msgid "" | ||
| 222 | + "Return ``1`` if the given floating-point number *X* is a not-a-number (NaN) " | ||
| 223 | + "value. Return ``0`` otherwise." | ||
| 224 | + msgstr "" | ||
| 225 | + | ||
| 226 | + #: ../../c-api/float.rst:175 | ||
| 227 | + msgid "The macro is :term:`soft deprecated`. Use :c:macro:`!isnan` instead." | ||
| 228 | + msgstr "" | ||
| 229 | + | ||
| 230 | + #: ../../c-api/float.rst:180 | ||
| 191 | 231 | msgid "Pack and Unpack functions" | |
| 192 | 232 | msgstr "" | |
| 193 | 233 | ||
| 194 | - #: ../../c-api/float.rst:146 | ||
| 234 | + #: ../../c-api/float.rst:182 | ||
| 195 | 235 | msgid "" | |
| 196 | 236 | "The pack and unpack functions provide an efficient platform-independent way " | |
| 197 | 237 | "to store floating-point values as byte strings. The Pack routines produce a " | |
@@ -200,7 +240,7 @@ msgid "" | |||
| 200 | 240 | "the number of bytes in the bytes string." | |
| 201 | 241 | msgstr "" | |
| 202 | 242 | ||
| 203 | - #: ../../c-api/float.rst:152 | ||
| 243 | + #: ../../c-api/float.rst:188 | ||
| 204 | 244 | msgid "" | |
| 205 | 245 | "On platforms that appear to use IEEE 754 formats these functions work by " | |
| 206 | 246 | "copying bits. On other platforms, the 2-byte format is identical to the IEEE " | |
@@ -212,25 +252,25 @@ msgid "" | |||
| 212 | 252 | "an exception." | |
| 213 | 253 | msgstr "" | |
| 214 | 254 | ||
| 215 | - #: ../../c-api/float.rst:161 | ||
| 255 | + #: ../../c-api/float.rst:197 | ||
| 216 | 256 | msgid "" | |
| 217 | 257 | "Note that NaNs type may not be preserved on IEEE platforms (signaling NaN " | |
| 218 | 258 | "become quiet NaN), for example on x86 systems in 32-bit mode." | |
| 219 | 259 | msgstr "" | |
| 220 | 260 | ||
| 221 | - #: ../../c-api/float.rst:164 | ||
| 261 | + #: ../../c-api/float.rst:200 | ||
| 222 | 262 | msgid "" | |
| 223 | 263 | "On non-IEEE platforms with more precision, or larger dynamic range, than " | |
| 224 | 264 | "IEEE 754 supports, not all values can be packed; on non-IEEE platforms with " | |
| 225 | 265 | "less precision, or smaller dynamic range, not all values can be unpacked. " | |
| 226 | 266 | "What happens in such cases is partly accidental (alas)." | |
| 227 | 267 | msgstr "" | |
| 228 | 268 | ||
| 229 | - #: ../../c-api/float.rst:172 | ||
| 269 | + #: ../../c-api/float.rst:208 | ||
| 230 | 270 | msgid "Pack functions" | |
| 231 | 271 | msgstr "" | |
| 232 | 272 | ||
| 233 | - #: ../../c-api/float.rst:174 | ||
| 273 | + #: ../../c-api/float.rst:210 | ||
| 234 | 274 | msgid "" | |
| 235 | 275 | "The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an :c:expr:" | |
| 236 | 276 | "`int` argument, non-zero if you want the bytes string in little-endian " | |
@@ -240,41 +280,41 @@ msgid "" | |||
| 240 | 280 | "to ``1`` on big endian processor, or ``0`` on little endian processor." | |
| 241 | 281 | msgstr "" | |
| 242 | 282 | ||
| 243 | - #: ../../c-api/float.rst:181 | ||
| 283 | + #: ../../c-api/float.rst:217 | ||
| 244 | 284 | msgid "" | |
| 245 | 285 | "Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set, " | |
| 246 | 286 | "most likely :exc:`OverflowError`)." | |
| 247 | 287 | msgstr "" | |
| 248 | 288 | ||
| 249 | - #: ../../c-api/float.rst:184 | ||
| 289 | + #: ../../c-api/float.rst:220 | ||
| 250 | 290 | msgid "There are two problems on non-IEEE platforms:" | |
| 251 | 291 | msgstr "" | |
| 252 | 292 | ||
| 253 | - #: ../../c-api/float.rst:186 | ||
| 293 | + #: ../../c-api/float.rst:222 | ||
| 254 | 294 | msgid "What this does is undefined if *x* is a NaN or infinity." | |
| 255 | 295 | msgstr "" | |
| 256 | 296 | ||
| 257 | - #: ../../c-api/float.rst:187 | ||
| 297 | + #: ../../c-api/float.rst:223 | ||
| 258 | 298 | msgid "``-0.0`` and ``+0.0`` produce the same bytes string." | |
| 259 | 299 | msgstr "" | |
| 260 | 300 | ||
| 261 | - #: ../../c-api/float.rst:191 | ||
| 301 | + #: ../../c-api/float.rst:227 | ||
| 262 | 302 | msgid "Pack a C double as the IEEE 754 binary16 half-precision format." | |
| 263 | 303 | msgstr "" | |
| 264 | 304 | ||
| 265 | - #: ../../c-api/float.rst:195 | ||
| 305 | + #: ../../c-api/float.rst:231 | ||
| 266 | 306 | msgid "Pack a C double as the IEEE 754 binary32 single precision format." | |
| 267 | 307 | msgstr "" | |
| 268 | 308 | ||
| 269 | - #: ../../c-api/float.rst:199 | ||
| 309 | + #: ../../c-api/float.rst:235 | ||
| 270 | 310 | msgid "Pack a C double as the IEEE 754 binary64 double precision format." | |
| 271 | 311 | msgstr "" | |
| 272 | 312 | ||
| 273 | - #: ../../c-api/float.rst:203 | ||
| 313 | + #: ../../c-api/float.rst:239 | ||
| 274 | 314 | msgid "Unpack functions" | |
| 275 | 315 | msgstr "" | |
| 276 | 316 | ||
| 277 | - #: ../../c-api/float.rst:205 | ||
| 317 | + #: ../../c-api/float.rst:241 | ||
| 278 | 318 | msgid "" | |
| 279 | 319 | "The unpack routines read 2, 4 or 8 bytes, starting at *p*. *le* is an :c:" | |
| 280 | 320 | "expr:`int` argument, non-zero if the bytes string is in little-endian format " | |
@@ -284,28 +324,28 @@ msgid "" | |||
| 284 | 324 | "processor, or ``0`` on little endian processor." | |
| 285 | 325 | msgstr "" | |
| 286 | 326 | ||
| 287 | - #: ../../c-api/float.rst:212 | ||
| 327 | + #: ../../c-api/float.rst:248 | ||
| 288 | 328 | msgid "" | |
| 289 | 329 | "Return value: The unpacked double. On error, this is ``-1.0`` and :c:func:" | |
| 290 | 330 | "`PyErr_Occurred` is true (and an exception is set, most likely :exc:" | |
| 291 | 331 | "`OverflowError`)." | |
| 292 | 332 | msgstr "" | |
| 293 | 333 | ||
| 294 | - #: ../../c-api/float.rst:216 | ||
| 334 | + #: ../../c-api/float.rst:252 | ||
| 295 | 335 | msgid "" | |
| 296 | 336 | "Note that on a non-IEEE platform this will refuse to unpack a bytes string " | |
| 297 | 337 | "that represents a NaN or infinity." | |
| 298 | 338 | msgstr "" | |
| 299 | 339 | ||
| 300 | - #: ../../c-api/float.rst:221 | ||
| 340 | + #: ../../c-api/float.rst:257 | ||
| 301 | 341 | msgid "Unpack the IEEE 754 binary16 half-precision format as a C double." | |
| 302 | 342 | msgstr "" | |
| 303 | 343 | ||
| 304 | - #: ../../c-api/float.rst:225 | ||
| 344 | + #: ../../c-api/float.rst:261 | ||
| 305 | 345 | msgid "Unpack the IEEE 754 binary32 single precision format as a C double." | |
| 306 | 346 | msgstr "" | |
| 307 | 347 | ||
| 308 | - #: ../../c-api/float.rst:229 | ||
| 348 | + #: ../../c-api/float.rst:265 | ||
| 309 | 349 | msgid "Unpack the IEEE 754 binary64 double precision format as a C double." | |
| 310 | 350 | msgstr "" | |
| 311 | 351 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments