Преглед изворни кода

Fixed broken links to PyYAML page.

CHI Cheng пре 6 година
родитељ
комит
b7dbd5ff68
3 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      docs/howto/initial-data.txt
  2. 1 1
      docs/topics/serialization.txt
  3. 1 1
      tests/timezones/tests.py

+ 1 - 1
docs/howto/initial-data.txt

@@ -30,7 +30,7 @@ Or, you can write fixtures by hand; fixtures can be written as JSON, XML or YAML
 </topics/serialization>` has more details about each of these supported
 :ref:`serialization formats <serialization-formats>`.
 
-.. _PyYAML: https://www.pyyaml.org/
+.. _PyYAML: https://pyyaml.org/
 
 As an example, though, here's what a fixture for a simple ``Person`` model might
 look like in JSON:

+ 1 - 1
docs/topics/serialization.txt

@@ -165,7 +165,7 @@ Identifier  Information
 ==========  ==============================================================
 
 .. _json: https://json.org/
-.. _PyYAML: https://www.pyyaml.org/
+.. _PyYAML: https://pyyaml.org/
 
 XML
 ---

+ 1 - 1
tests/timezones/tests.py

@@ -607,7 +607,7 @@ class SerializationTests(SimpleTestCase):
     # - JSON supports only milliseconds, microseconds will be truncated.
     # - PyYAML dumps the UTC offset correctly for timezone-aware datetimes,
     #   but when it loads this representation, it subtracts the offset and
-    #   returns a naive datetime object in UTC (https://pyyaml.org/ticket/202).
+    #   returns a naive datetime object in UTC. See ticket #18867.
     # Tests are adapted to take these quirks into account.
 
     def assert_python_contains_datetime(self, objects, dt):