When I was looking at the code of s3 target in spotify / luigi, there was a description method that I didn't know, so make a note.
_, key = self._path_to_bucket_and_key(path)
It seems that using _ as a variable makes it an unnecessary variable. ([Practice of assigning tapple values not used in Python to “_” (underscore)](http://momijiame.tumblr.com/post/28130976849/python-%E3%81%A7%E4%BD% BF% E3% 82% 8F% E3% 81% AA% E3% 81% 84% E3% 82% BF% E3% 83% 97% E3% 83% AB% E3% 81% AE% E5% 80% A4% E3% 81% AF-% E3% 82% A2% E3% 83% B3% E3% 83% 80% E3% 83% BC% E3% 83% 90% E3% 83% BC-% E3% 81% AB% E4% BB% A3% E5% 85% A5% E3% 81% 99% E3% 82% 8B% E3% 81% A8% E3% 81% 84% E3% 81% 86% E3% 83% 97% E3% 83% A9% E3% 82% AF% E3% 83% 86% E3% 82% A3% E3% 82% B9))
Recommended Posts