ソースを参照

Determine the number of processes to create automatically

tags/v0.1.0
コミット
402fe6a723
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: BC6F3C345B7D33B0
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      ephemeris.py

+ 1
- 1
ephemeris.py ファイルの表示

@@ -75,7 +75,7 @@ class Ephemeris:
'observer': {'latitude': self.latitude, 'longitude': self.longitude},
'year': year, 'month': month, 'day': day})

with ThreadPool(4) as pool:
with ThreadPool() as pool:
planets = pool.map(Ephemeris.get_planet, args)

obj = {}


読み込み中…
キャンセル
保存