Pārlūkot izejas kodu

fixing a typo in the documentation

Mehrdad Moradizadeh 2 gadi atpakaļ
vecāks
revīzija
739096d426
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      wagtail/models/__init__.py

+ 1 - 1
wagtail/models/__init__.py

@@ -1314,7 +1314,7 @@ class Page(AbstractPage, index.Indexed, ClusterableModel, metaclass=PageBase):
             return self
 
         if isinstance(self, model_class):
-            # self is already the an instance of the most specific class
+            # self is already an instance of the most specific class.
             return self
 
         if deferred: