@@ -12,7 +12,7 @@ msgid ""
1212msgstr ""
1313"Project-Id-Version : Python 3.14\n "
1414"Report-Msgid-Bugs-To : \n "
15- "POT-Creation-Date : 2025-08-23 14:15 +0000\n "
15+ "POT-Creation-Date : 2025-08-27 14:18 +0000\n "
1616"PO-Revision-Date : 2025-08-02 17:34+0000\n "
1717"
Last-Translator :
Daniel Nylander <[email protected] >, 2025\n "
1818"Language-Team : Swedish (https://app.transifex.com/python-doc/teams/5390/ "
@@ -406,14 +406,10 @@ msgstr ""
406406
407407msgid ""
408408"Convert an integer number to a binary string prefixed with \" 0b\" . The "
409- "result is a valid Python expression. If *x * is not a Python :class:`int` "
410- "object, it has to define an :meth:`~object.__index__` method that returns an "
411- "integer. Some examples:"
409+ "result is a valid Python expression. If *integer * is not a Python :class:"
410+ "`int` object, it has to define an :meth:`~object.__index__` method that "
411+ "returns an integer. Some examples:"
412412msgstr ""
413- "Konverterar ett heltal till en binär sträng med prefixet \" 0b\" . Resultatet "
414- "är ett giltigt Python-uttryck. Om *x* inte är ett Python :class:`int`-objekt "
415- "måste det definiera en :meth:`~object.__index__`-metod som returnerar ett "
416- "heltal. Några exempel:"
417413
418414msgid ""
419415"If the prefix \" 0b\" is desired or not, you can use either of the following "
@@ -588,21 +584,15 @@ msgstr ""
588584"3.2."
589585
590586msgid ""
591- "Return the string representing a character whose Unicode code point is the "
592- "integer *i*. For example, ``chr(97)`` returns the string ``'a'``, while "
587+ "Return the string representing a character with the specified Unicode code "
588+ "point. For example, ``chr(97)`` returns the string ``'a'``, while "
593589"``chr(8364)`` returns the string ``'€'``. This is the inverse of :func:`ord`."
594590msgstr ""
595- "Returnerar den sträng som representerar ett tecken vars Unicode-kodpunkt är "
596- "heltalet *i*. Till exempel returnerar ``chr(97)`` strängen ``'a'``, medan "
597- "``chr(8364)`` returnerar strängen ``'€'``. Detta är inversen av :func:`ord`."
598591
599592msgid ""
600593"The valid range for the argument is from 0 through 1,114,111 (0x10FFFF in "
601- "base 16). :exc:`ValueError` will be raised if *i* is outside that range."
594+ "base 16). :exc:`ValueError` will be raised if it is outside that range."
602595msgstr ""
603- "Det giltiga intervallet för argumentet är från 0 till 1,114,111 (0x10FFFF i "
604- "bas 16). :exc:`ValueError` kommer att uppstå om *i* är utanför detta "
605- "intervall."
606596
607597msgid "Transform a method into a class method."
608598msgstr "Omvandla en metod till en klassmetod."
@@ -1617,12 +1607,9 @@ msgstr ""
16171607
16181608msgid ""
16191609"Convert an integer number to a lowercase hexadecimal string prefixed with "
1620- "\" 0x\" . If *x * is not a Python :class:`int` object, it has to define an : "
1621- "meth:`~object.__index__` method that returns an integer. Some examples:"
1610+ "\" 0x\" . If *integer * is not a Python :class:`int` object, it has to define "
1611+ "an : meth:`~object.__index__` method that returns an integer. Some examples:"
16221612msgstr ""
1623- "Konverterar ett heltal till en hexadecimal sträng med gemener och prefixet "
1624- "\" 0x\" . Om *x* inte är ett Python :class:`int`-objekt måste det definiera "
1625- "en :meth:`~object.__index__`-metod som returnerar ett heltal. Några exempel:"
16261613
16271614msgid ""
16281615"If you want to convert an integer number to an uppercase or lower "
@@ -1876,29 +1863,17 @@ msgstr ""
18761863msgid ""
18771864"Return an :term:`iterator` object. The first argument is interpreted very "
18781865"differently depending on the presence of the second argument. Without a "
1879- "second argument, *object* must be a collection object which supports the :"
1880- "term:`iterable` protocol (the :meth:`~object.__iter__` method), or it must "
1881- "support the sequence protocol (the :meth:`~object.__getitem__` method with "
1882- "integer arguments starting at ``0``). If it does not support either of "
1883- "those protocols, :exc:`TypeError` is raised. If the second argument, "
1884- "*sentinel*, is given, then *object* must be a callable object. The iterator "
1885- "created in this case will call *object* with no arguments for each call to "
1886- "its :meth:`~iterator.__next__` method; if the value returned is equal to "
1887- "*sentinel*, :exc:`StopIteration` will be raised, otherwise the value will be "
1888- "returned."
1889- msgstr ""
1890- "Returnerar ett :term:`iterator`\\ -objekt. Det första argumentet tolkas "
1891- "mycket olika beroende på om det andra argumentet finns med. Utan ett andra "
1892- "argument måste *object* vara ett samlingsobjekt som stöder protokollet :term:"
1893- "`iterable` (metoden :meth:`~object.__iter__`), eller så måste det stödja "
1894- "protokollet sequence (metoden :meth:`~object.__getitem__` med "
1895- "heltalsargument som börjar på ``0``). Om den inte stöder något av dessa "
1896- "protokoll, :exc:`TypeError`. Om det andra argumentet, *sentinel*, anges "
1897- "måste *object* vara ett anropsbart objekt. Den iterator som skapas i detta "
1898- "fall kommer att anropa *objekt* utan argument för varje anrop till dess :"
1899- "meth:`~iterator.__next__`-metod; om det returnerade värdet är lika med "
1900- "*sentinel*, kommer :exc:`StopIteration` att tas upp, annars kommer värdet "
1901- "att returneras."
1866+ "second argument, the single argument must be a collection object which "
1867+ "supports the :term:`iterable` protocol (the :meth:`~object.__iter__` "
1868+ "method), or it must support the sequence protocol (the :meth:`~object."
1869+ "__getitem__` method with integer arguments starting at ``0``). If it does "
1870+ "not support either of those protocols, :exc:`TypeError` is raised. If the "
1871+ "second argument, *sentinel*, is given, then the first argument must be a "
1872+ "callable object. The iterator created in this case will call *callable* "
1873+ "with no arguments for each call to its :meth:`~iterator.__next__` method; if "
1874+ "the value returned is equal to *sentinel*, :exc:`StopIteration` will be "
1875+ "raised, otherwise the value will be returned."
1876+ msgstr ""
19021877
19031878msgid "See also :ref:`typeiter`."
19041879msgstr "Se även :ref:`typeiter`."
@@ -2183,14 +2158,10 @@ msgstr ""
21832158
21842159msgid ""
21852160"Convert an integer number to an octal string prefixed with \" 0o\" . The "
2186- "result is a valid Python expression. If *x * is not a Python :class:`int` "
2187- "object, it has to define an :meth:`~object.__index__` method that returns an "
2188- "integer. For example:"
2161+ "result is a valid Python expression. If *integer * is not a Python :class:"
2162+ "`int` object, it has to define an :meth:`~object.__index__` method that "
2163+ "returns an integer. For example:"
21892164msgstr ""
2190- "Konverterar ett heltal till en oktal sträng med prefixet \" 0o\" . Resultatet "
2191- "är ett giltigt Python-uttryck. Om *x* inte är ett Python :class:`int`-"
2192- "objekt, måste det definiera en :meth:`~object.__index__`-metod som "
2193- "returnerar ett heltal. Till exempel"
21942165
21952166msgid ""
21962167"If you want to convert an integer number to an octal string either with the "
@@ -2987,15 +2958,11 @@ msgstr ""
29872958" return f\" Person('{self.name}', {self.age})\" "
29882959
29892960msgid ""
2990- "Return a reverse :term:`iterator`. *seq* must be an object which has a : "
2991- "meth:`~object.__reversed__` method or supports the sequence protocol (the : "
2992- "meth:`~object.__len__` method and the :meth:`~object.__getitem__` method "
2993- "with integer arguments starting at ``0``)."
2961+ "Return a reverse :term:`iterator`. The argument must be an object which has "
2962+ "a : meth:`~object.__reversed__` method or supports the sequence protocol "
2963+ "(the : meth:`~object.__len__` method and the :meth:`~object.__getitem__` "
2964+ "method with integer arguments starting at ``0``)."
29942965msgstr ""
2995- "Returnerar en omvänd :term:`iterator`. *seq* måste vara ett objekt som har "
2996- "en :meth:`~object.__reversed__`-metod eller som stöder sekvensprotokollet (:"
2997- "meth:`~object.__len__`-metoden och :meth:`~object.__getitem__`-metoden med "
2998- "heltalsargument som börjar på ``0``)."
29992966
30002967msgid ""
30012968"Return *number* rounded to *ndigits* precision after the decimal point. If "
0 commit comments