diff --git a/docs/docs/classic.rst b/docs/docs/classic.rst index fb5b9acb..9cbd84b5 100644 --- a/docs/docs/classic.rst +++ b/docs/docs/classic.rst @@ -31,6 +31,6 @@ to it like so :: remote_list = conn.builtin.range(7) - conn.execute("print 'foo'") + conn.execute("print('foo')") diff --git a/docs/docs/services.rst b/docs/docs/services.rst index 29bf5d45..d5ee26bf 100644 --- a/docs/docs/services.rst +++ b/docs/docs/services.rst @@ -64,7 +64,7 @@ decorator. Let's revisit the calculator service, but this time we'll use decorat def div(self, a, b): return a / b def foo(self): - print "foo" + print("foo") When implementing services, ``@rpyc.service`` and ``@rpyc.exposed`` can replace the ``exposed_`` naming convention.