This is an automated email from the ASF dual-hosted git repository.

kojiromike pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/main by this push:
     new 25b6e762c update example to python3 print syntax
25b6e762c is described below

commit 25b6e762c87bc5b774ae7a5fff81f05f63c9144b
Author: Paul Wright <[email protected]>
AuthorDate: Fri May 31 16:43:26 2024 +0100

    update example to python3 print syntax
---
 doc/examples/example.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/examples/example.py b/doc/examples/example.py
index 7b88c1cc1..3403428f5 100644
--- a/doc/examples/example.py
+++ b/doc/examples/example.py
@@ -29,5 +29,5 @@ writer.close()
 
 reader = DataFileReader(open("/tmp/users.avro", "r"), DatumReader())
 for user in reader:
-    print user
+    print(user)
 reader.close()

Reply via email to