質問編集履歴
2
ソースコード内のコメント文を修正
    
        title	
    CHANGED
    
    | 
         
            File without changes
         
     | 
    
        body	
    CHANGED
    
    | 
         @@ -18,7 +18,7 @@ 
     | 
|
| 
       18 
18 
     | 
    
         
             
                     self.width) = self.load_map(path_to_map, path_to_yaml)
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         
             
                def load_map(self, path_to_map, path_to_yaml):
         
     | 
| 
       21 
     | 
    
         
            -
                 # ~ 
     | 
| 
      
 21 
     | 
    
         
            +
                 # ~地図画像の読み込み、下処理~
         
     | 
| 
       22 
22 
     | 
    
         
             
                    return (img_pillow, img_np, img_bool,
         
     | 
| 
       23 
23 
     | 
    
         
             
                            resolution, origin, height, width)
         
     | 
| 
       24 
24 
     | 
    
         
             
            ```
         
     | 
| 
         @@ -32,7 +32,7 @@ 
     | 
|
| 
       32 
32 
     | 
    
         
             
                    self.load_map(path_to_map, path_to_yaml)
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
34 
     | 
    
         
             
                def load_map(self, path_to_map, path_to_yaml):
         
     | 
| 
       35 
     | 
    
         
            -
                 # ~ 
     | 
| 
      
 35 
     | 
    
         
            +
                 # ~地図画像の読み込み、下処理~
         
     | 
| 
       36 
36 
     | 
    
         
             
                    self.img_pillow = img_pillow
         
     | 
| 
       37 
37 
     | 
    
         
             
                    self.img_np = img_np
         
     | 
| 
       38 
38 
     | 
    
         
             
                    self.img_bool = img_bool
         
     | 
| 
         @@ -46,7 +46,7 @@ 
     | 
|
| 
       46 
46 
     | 
    
         
             
            ```python
         
     | 
| 
       47 
47 
     | 
    
         | 
| 
       48 
48 
     | 
    
         
             
            def _load_map(path_to_map, path_to_yaml):
         
     | 
| 
       49 
     | 
    
         
            -
                 # ~ 
     | 
| 
      
 49 
     | 
    
         
            +
                 # ~地図画像の読み込み、下処理~
         
     | 
| 
       50 
50 
     | 
    
         
             
                    return (img_pillow, img_np, img_bool,
         
     | 
| 
       51 
51 
     | 
    
         
             
                            resolution, origin, height, width)
         
     | 
| 
       52 
52 
     | 
    
         | 
1
タイトルを具体的に変更
    
        title	
    CHANGED
    
    | 
         @@ -1,1 +1,1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            Python 
     | 
| 
      
 1 
     | 
    
         
            +
            [Python]クラス内の副作用のないメソッドをどこに書けば良いのかわからない
         
     | 
    
        body	
    CHANGED
    
    | 
         
            File without changes
         
     |