laixintao / python-parallel-programming-cookbook-cn

📖《Python Parallel Programming Cookbook》中文版
http://python-parallel-programmning-cookbook.readthedocs.io/
1.49k stars 93 forks source link

ch 1.7最后定义类 #55

Closed cccrick closed 5 years ago

cccrick commented 5 years ago

class Complex: ... def init(self, realpart, imagpart): ... self.r = realpart ... self.i = imagpart 这里的def需要缩进