Skip to content

Commit

Permalink
HPCC-30721 Fix Python examples to use Python3
Browse files Browse the repository at this point in the history
Signed-off-by: Jim DeFabia <[email protected]>
  • Loading branch information
Jim DeFabia committed Nov 1, 2023
2 parents dda2c21 + e09fb04 commit bbcda60
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion initfiles/examples/embed/python-catch.ecl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IMPORT Python3 as Python;
IMPORT Python3 AS Python;

/*
This example illustrates and tests the use of embedded Python
Expand Down
2 changes: 1 addition & 1 deletion initfiles/examples/embed/python-import.ecl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IMPORT Python3 as Python;
IMPORT Python3 AS Python;

/*
This example illustrates a call to a Python functions defined in the Python module python_cat.py
Expand Down
2 changes: 1 addition & 1 deletion initfiles/examples/embed/python-simple.ecl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IMPORT Python3 as Python;
IMPORT Python3 AS Python;

/*
This example illustrates and tests the use of embedded Python
Expand Down
2 changes: 1 addition & 1 deletion initfiles/examples/embed/python-simple2.ecl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IMPORT Python3 as Python;
IMPORT Python3 AS Python;
/*
This example illustrates and tests the use of embedded Python.
In this example the python that is embedded is more complex, including a definition of a function
Expand Down
2 changes: 1 addition & 1 deletion initfiles/examples/embed/python-stream.ecl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IMPORT Python3 as Python;
IMPORT Python3 AS Python;

/*
This example illustrates and tests the use of embedded Python.
Expand Down

0 comments on commit bbcda60

Please sign in to comment.