@@ -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-19 14:18 +0000\n "
15+ "POT-Creation-Date : 2025-08-21 14:19 +0000\n "
1616"PO-Revision-Date : 2025-08-02 17:35+0000\n "
1717"Last-Translator : Daniel Nylander <po@danielnylander.se>, 2025\n "
1818"Language-Team : Swedish (https://app.transifex.com/python-doc/teams/5390/ "
@@ -4320,19 +4320,19 @@ msgid ""
43204320msgstr ""
43214321
43224322msgid ":class:`!Bytes`"
4323- msgstr ""
4323+ msgstr ":class:`!Bytes` "
43244324
43254325msgid ":class:`!Ellipsis`"
4326- msgstr ""
4326+ msgstr ":class:`!Ellipsis` "
43274327
43284328msgid ":class:`!NameConstant`"
4329- msgstr ""
4329+ msgstr ":class:`!NameConstant` "
43304330
43314331msgid ":class:`!Num`"
4332- msgstr ""
4332+ msgstr ":class:`!Num` "
43334333
43344334msgid ":class:`!Str`"
4335- msgstr ""
4335+ msgstr ":class:`!Str` "
43364336
43374337msgid ""
43384338"As a consequence of these removals, user-defined ``visit_Num``, "
@@ -4351,10 +4351,10 @@ msgid ""
43514351msgstr ""
43524352
43534353msgid ":attr:`!Constant.n`"
4354- msgstr ""
4354+ msgstr ":attr:`!Constant.n` "
43554355
43564356msgid ":attr:`!Constant.s`"
4357- msgstr ""
4357+ msgstr ":attr:`!Constant.s` "
43584358
43594359msgid ""
43604360"Use :attr:`!Constant.value` instead. (Contributed by Alex Waygood in :gh:"
@@ -4367,34 +4367,34 @@ msgid ""
43674367msgstr ""
43684368
43694369msgid ":class:`!AbstractChildWatcher`"
4370- msgstr ""
4370+ msgstr ":class:`!AbstractChildWatcher` "
43714371
43724372msgid ":class:`!FastChildWatcher`"
4373- msgstr ""
4373+ msgstr ":class:`!FastChildWatcher` "
43744374
43754375msgid ":class:`!MultiLoopChildWatcher`"
4376- msgstr ""
4376+ msgstr ":class:`!MultiLoopChildWatcher` "
43774377
43784378msgid ":class:`!PidfdChildWatcher`"
4379- msgstr ""
4379+ msgstr ":class:`!PidfdChildWatcher` "
43804380
43814381msgid ":class:`!SafeChildWatcher`"
4382- msgstr ""
4382+ msgstr ":class:`!SafeChildWatcher` "
43834383
43844384msgid ":class:`!ThreadedChildWatcher`"
4385- msgstr ""
4385+ msgstr ":class:`!ThreadedChildWatcher` "
43864386
43874387msgid ":meth:`!AbstractEventLoopPolicy.get_child_watcher`"
4388- msgstr ""
4388+ msgstr ":meth:`!AbstractEventLoopPolicy.get_child_watcher` "
43894389
43904390msgid ":meth:`!AbstractEventLoopPolicy.set_child_watcher`"
4391- msgstr ""
4391+ msgstr ":meth:`!AbstractEventLoopPolicy.set_child_watcher` "
43924392
43934393msgid ":func:`!get_child_watcher`"
4394- msgstr ""
4394+ msgstr ":func:`!get_child_watcher` "
43954395
43964396msgid ":func:`!set_child_watcher`"
4397- msgstr ""
4397+ msgstr ":func:`!set_child_watcher` "
43984398
43994399msgid "(Contributed by Kumar Aditya in :gh:`120804`.)"
44004400msgstr "(Bidrag från Kumar Aditya i :gh:`120804`.)"
@@ -4419,7 +4419,7 @@ msgstr ""
44194419"Om du kör en asynkron funktion använder du helt enkelt :func:`asyncio.run`."
44204420
44214421msgid "Before:"
4422- msgstr ""
4422+ msgstr "Före: "
44234423
44244424msgid ""
44254425"async def main():\n"
@@ -4443,7 +4443,7 @@ msgstr ""
44434443" loop.close()"
44444444
44454445msgid "After:"
4446- msgstr ""
4446+ msgstr "Efter: "
44474447
44484448msgid ""
44494449"async def main():\n"
@@ -4474,6 +4474,14 @@ msgid ""
44744474"finally:\n"
44754475" loop.close()"
44764476msgstr ""
4477+ "def start_server(loop): ...\n"
4478+ "\n"
4479+ "loop = asyncio.get_event_loop()\n"
4480+ "try:\n"
4481+ " start_server(loop)\n"
4482+ " loop.run_forever()\n"
4483+ "finally:\n"
4484+ " loop.close()"
44774485
44784486msgid ""
44794487"def start_server(loop): ...\n"
@@ -4484,6 +4492,13 @@ msgid ""
44844492"\n"
44854493"asyncio.run(main())"
44864494msgstr ""
4495+ "def start_server(loop): ...\n"
4496+ "\n"
4497+ "async def main():\n"
4498+ " start_server(asyncio.get_running_loop())\n"
4499+ " await asyncio.Event().wait()\n"
4500+ "\n"
4501+ "asyncio.run(main())"
44874502
44884503msgid ""
44894504"If you need to run something in an event loop, then run some blocking code "
@@ -4505,6 +4520,17 @@ msgid ""
45054520"finally:\n"
45064521" loop.close()"
45074522msgstr ""
4523+ "async def operation_one(): ...\n"
4524+ "def blocking_code(): ...\n"
4525+ "async def operation_two(): ...\n"
4526+ "\n"
4527+ "loop = asyncio.get_event_loop()\n"
4528+ "try:\n"
4529+ " loop.run_until_complete(operation_one())\n"
4530+ " blocking_code()\n"
4531+ " loop.run_until_complete(operation_two())\n"
4532+ "finally:\n"
4533+ " loop.close()"
45084534
45094535msgid ""
45104536"async def operation_one(): ...\n"
@@ -4516,6 +4542,14 @@ msgid ""
45164542" blocking_code()\n"
45174543" runner.run(operation_two())"
45184544msgstr ""
4545+ "async def operation_one(): ...\n"
4546+ "def blocking_code(): ...\n"
4547+ "async def operation_two(): ...\n"
4548+ "\n"
4549+ "with asyncio.Runner() as runner:\n"
4550+ " runner.run(operation_one())\n"
4551+ " blocking_code()\n"
4552+ " runner.run(operation_two())"
45194553
45204554msgid "collections.abc"
45214555msgstr "samlingar.abc"
@@ -4535,7 +4569,7 @@ msgid ""
45354569msgstr ""
45364570
45374571msgid "importlib.abc"
4538- msgstr ""
4572+ msgstr "importlib.abc "
45394573
45404574msgid "Remove deprecated :mod:`importlib.abc` classes:"
45414575msgstr "Ta bort föråldrade :mod:`importlib.abc`-klasser:"
@@ -4544,15 +4578,20 @@ msgid ""
45444578":class:`!ResourceReader` (use :class:`~importlib.resources.abc."
45454579"TraversableResources`)"
45464580msgstr ""
4581+ ":class:`!ResourceReader` (använd :class:`~importlib.resources.abc."
4582+ "TraversableResources`)"
45474583
45484584msgid ""
45494585":class:`!Traversable` (use :class:`~importlib.resources.abc.Traversable`)"
45504586msgstr ""
4587+ ":class:`!Traversable` (använd :class:`~importlib.resources.abc.Traversable`)"
45514588
45524589msgid ""
45534590":class:`!TraversableResources` (use :class:`~importlib.resources.abc."
45544591"TraversableResources`)"
45554592msgstr ""
4593+ ":class:`!TraversableResources` (använd :class:`~importlib.resources.abc."
4594+ "TraversableResources`)"
45564595
45574596msgid "(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)"
45584597msgstr "(Bidrag från Jason R. Coombs och Hugo van Kemenade i :gh:`93963`.)"
0 commit comments