From 3f82027d950396da18852add897847104100afb6 Mon Sep 17 00:00:00 2001 From: comrumino Date: Fri, 5 Jan 2024 19:35:55 -0600 Subject: [PATCH] Updated classic.rst and services.rst print syntax to python 3 --- docs/docs/classic.rst | 2 +- docs/docs/services.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.