Lenard Lindstrom avatar Lenard Lindstrom committed 5ee9393

minor type correction in Rect docs

Comments (0)

Files changed (2)

docs/ref/rect.html

 <p>The coordinates for Rect objects are all integers. The size values can be programmed to have negative values, but these are considered illegal Rects for most operations. </p>
 <p>There are several collision tests between other rectangles. Most python containers can be searched for collisions against a single Rect. </p>
 <p>The area covered by a Rect does not include the right- and bottom-most edge of pixels. If one Rect's bottom border is another Rect's top border <tt>(i.e.</tt>, <tt>rect1.bottom=rect2.top)</tt>, the two meet exactly on the screen but do not overlap, and <tt>rect1.colliderect(rect2)</tt> returns false. </p>
-<p>Though Rect can be subclassed, methods that return new rectangles are not subclass aware. That is, move or copy with return a new <tt>pygame.Rect</tt> instance, not an instance of the subclass. This may change. To make subclass awareness work though, subclasses may have to maintain the same constructor signature as Rect. </p>
+<p>Though Rect can be subclassed, methods that return new rectangles are not subclass aware. That is, move or copy return a new <tt>pygame.Rect</tt> instance, not an instance of the subclass. This may change. To make subclass awareness work though, subclasses may have to maintain the same constructor signature as Rect. </p>
 <!--COMMENTS:pygame.Rect--> &nbsp;<br> 
 
 
 but do not overlap, and rect1.colliderect(rect2) returns false.
 
 Though Rect can be subclassed, methods that return new rectangles are not
-subclass aware. That is, move or copy with return a new pygame.Rect instance,
+subclass aware. That is, move or copy return a new pygame.Rect instance,
 not an instance of the subclass. This may change. To make subclass awareness
 work though, subclasses may have to maintain the same constructor signature
 as Rect.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.