@@ -27,7 +27,7 @@ class WindowCursor:
27
27
that it must be suited for the somewhat quite different sliding manager. It could be improved, but
28
28
I see no real need to do so."""
29
29
__slots__ = (
30
- '_manager' , # the manger keeping all file regions
30
+ '_manager' , # the manager keeping all file regions
31
31
'_rlist' , # a regions list with regions for our file
32
32
'_region' , # our current class:`MapRegion` or None
33
33
'_ofs' , # relative offset from the actually mapped area to our start area
@@ -66,7 +66,7 @@ def _destroy(self):
66
66
# sometimes, during shutdown, getrefcount is None. Its possible
67
67
# to re-import it, however, its probably better to just ignore
68
68
# 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 .
70
70
pass
71
71
# END exception handling
72
72
# END handle regions
@@ -95,7 +95,7 @@ def __copy__(self):
95
95
#{ Interface
96
96
def assign (self , rhs ):
97
97
"""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"""
99
99
self ._destroy ()
100
100
self ._copy_from (rhs )
101
101
@@ -342,7 +342,7 @@ def _collect_lru_region(self, size):
342
342
return num_found
343
343
344
344
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,
346
346
see MapCursor.use_region.
347
347
:param a: A regions (a)rray
348
348
:return: The newly created region"""
@@ -427,7 +427,7 @@ def mapped_memory_size(self):
427
427
return self ._memory_size
428
428
429
429
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"""
431
431
return self ._max_handle_count
432
432
433
433
def max_mapped_memory_size (self ):
0 commit comments