@@ -27,7 +27,7 @@ class WindowCursor:
2727 that it must be suited for the somewhat quite different sliding manager. It could be improved, but
2828 I see no real need to do so."""
2929 __slots__ = (
30- '_manager' , # the manger keeping all file regions
30+ '_manager' , # the manager keeping all file regions
3131 '_rlist' , # a regions list with regions for our file
3232 '_region' , # our current class:`MapRegion` or None
3333 '_ofs' , # relative offset from the actually mapped area to our start area
@@ -66,7 +66,7 @@ def _destroy(self):
6666 # sometimes, during shutdown, getrefcount is None. Its possible
6767 # to re-import it, however, its probably better to just ignore
6868 # this python problem (for now).
69- # The next step is to get rid of the error prone getrefcount alltogether .
69+ # The next step is to get rid of the error prone getrefcount altogether .
7070 pass
7171 # END exception handling
7272 # END handle regions
@@ -95,7 +95,7 @@ def __copy__(self):
9595 #{ Interface
9696 def assign (self , rhs ):
9797 """Assign rhs to this instance. This is required in order to get a real copy.
98- Alternativly , you can copy an existing instance using the copy module"""
98+ Alternatively , you can copy an existing instance using the copy module"""
9999 self ._destroy ()
100100 self ._copy_from (rhs )
101101
@@ -342,7 +342,7 @@ def _collect_lru_region(self, size):
342342 return num_found
343343
344344 def _obtain_region (self , a , offset , size , flags , is_recursive ):
345- """Utilty to create a new region - for more information on the parameters,
345+ """Utility to create a new region - for more information on the parameters,
346346 see MapCursor.use_region.
347347 :param a: A regions (a)rray
348348 :return: The newly created region"""
@@ -427,7 +427,7 @@ def mapped_memory_size(self):
427427 return self ._memory_size
428428
429429 def max_file_handles (self ):
430- """:return: maximium amount of handles we may have opened"""
430+ """:return: maximum amount of handles we may have opened"""
431431 return self ._max_handle_count
432432
433433 def max_mapped_memory_size (self ):
0 commit comments