mirror of
https://github.com/wassname/ray.git
synced 2026-10-04 13:00:39 +08:00
Rename function to make actor example correct (#5432)
This commit is contained in:
1 parent
61b23a9a70
commit
158567b952
1 file changed
+1
-1
@@ -47,7 +47,7 @@ To use Ray's actor model:
|
||||
def __init__(self):
|
||||
self.n = 0
|
||||
|
||||
def inc(self):
|
||||
def increment(self):
|
||||
self.n += 1
|
||||
|
||||
def read(self):
|
||||
|
||||
Reference in new issue
Block a user