File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -321,14 +321,16 @@ msgid ""
321321"A method for invalidating the cache on the ``ZoneInfo`` class. If no "
322322"arguments are passed, all caches are invalidated and the next call to the "
323323"primary constructor for each key will return a new instance."
324- msgstr ""
324+ msgstr "一个可在 ``ZoneInfo`` 类上禁用缓存的方法。 如果不传入参数,则会禁用所有缓存并且下次对每个键调用主构造器将返回一个新实例。 "
325325
326326#: ../../library/zoneinfo.rst:231
327327msgid ""
328328"If an iterable of key names is passed to the ``only_keys`` parameter, only "
329329"the specified keys will be removed from the cache. Keys passed to "
330330"``only_keys`` but not found in the cache are ignored."
331331msgstr ""
332+ "如果将一个键名称的可迭代对象传给 ``only_keys`` 形参,则将只有指定的键会被从缓存中移除。 传给 ``only_keys`` "
333+ "但在缓存中找不到的键会被忽略。"
332334
333335#: ../../library/zoneinfo.rst:239
334336msgid ""
@@ -337,10 +339,12 @@ msgid ""
337339" thus may have wide-ranging effects. Only use it if you know that you need "
338340"to."
339341msgstr ""
342+ "发起调用此函数可能会以令人惊讶的方式改变使用 ``ZoneInfo`` 的日期时间对象的语义;这会修改进程范围内的全局状态并因此可能产生大范围的影响。 "
343+ "只有在你确定你的需求时才使用它。"
340344
341345#: ../../library/zoneinfo.rst:244
342346msgid "The class has one attribute:"
343- msgstr ""
347+ msgstr "该类具有一个属性: "
344348
345349#: ../../library/zoneinfo.rst:248
346350msgid ""
You can’t perform that action at this time.
0 commit comments