@@ -132,15 +132,15 @@ def enum_display_monitors(self):
132132 If the monitor has rotation, you have to deal with inside
133133 this method.
134134
135- Must returns a dict with at minima :
135+ Must returns a dict with:
136136 {
137137 'left': the x-coordinate of the upper-left corner,
138138 'top': the y-coordinate of the upper-left corner,
139139 'width': the width,
140140 'height': the height
141141 }
142142 '''
143- raise NotImplementedError ('Subclasses need to implement this!' )
143+ raise NotImplementedError ('MSS: subclasses need to implement this!' )
144144
145145 def get_pixels (self , monitor_infos ):
146146 ''' Retrieve screen pixels for a given monitor.
@@ -155,7 +155,7 @@ def get_pixels(self, monitor_infos):
155155
156156 Returns a dict with pixels.
157157 '''
158- raise NotImplementedError ('Subclasses need to implement this!' )
158+ raise NotImplementedError ('MSS: subclasses need to implement this!' )
159159
160160 def save (self ,
161161 output = 'screenshot-%d.png' ,
@@ -311,7 +311,7 @@ class MSSLinux(MSS):
311311 '''
312312
313313 def __del__ (self ):
314- ''' Disconnect from X server '''
314+ ''' Disconnect from X server. '''
315315
316316 self .debug ('__del__' )
317317
@@ -363,7 +363,7 @@ def __init__(self):
363363 self .debug ('init' , 'root' , self .root )
364364
365365 def _set_argtypes (self ):
366- ''' Functions arguments '''
366+ ''' Functions arguments. '''
367367
368368 self .debug ('_set_argtypes' )
369369
@@ -391,7 +391,7 @@ def _set_argtypes(self):
391391 self .xrandr .XRRFreeCrtcInfo .argtypes = [POINTER (XRRCrtcInfo )]
392392
393393 def _set_restypes (self ):
394- ''' Functions return type '''
394+ ''' Functions return type. '''
395395
396396 self .debug ('_set_restypes' )
397397
@@ -489,15 +489,15 @@ class MSSWindows(MSS):
489489 ''' Mutli-screen shot implementation for Microsoft Windows. '''
490490
491491 def __init__ (self ):
492- ''' Windows initialisations '''
492+ ''' Windows initialisations. '''
493493
494494 self .debug ('__init__' )
495495
496496 self ._set_argtypes ()
497497 self ._set_restypes ()
498498
499499 def _set_argtypes (self ):
500- ''' Functions arguments '''
500+ ''' Functions arguments. '''
501501
502502 self .debug ('_set_argtypes' )
503503
@@ -518,7 +518,7 @@ def _set_argtypes(self):
518518 POINTER (BITMAPINFO ), UINT ]
519519
520520 def _set_restypes (self ):
521- ''' Functions return type '''
521+ ''' Functions return type. '''
522522
523523 self .debug ('_set_restypes' )
524524
0 commit comments