Explorar o código

Update doc/reference/annotations.rst

Johannes %!s(int64=12) %!d(string=hai) anos
pai
achega
41a2f96e51
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      doc/reference/annotations.rst

+ 2 - 2
doc/reference/annotations.rst

@@ -196,7 +196,7 @@ by the object iself.
 .. versionadded : 0.12
     @Discriminator was added
 
-This annotation can to enable deserialization of relations which are polymorphic, but
+This annotation allows deserialization of relations which are polymorphic, but
 where a common base class exists. The ``@Discriminator`` annotation has to be applied
 to the least super type::
 
@@ -466,4 +466,4 @@ Resulting XML:
 
 .. code-block :: xml
 
-    <result name="firstname" value="Adrien"/>
+    <result name="firstname" value="Adrien"/>