Skip to content

Commit c798b7c

Browse files
committed
Change example to reflect python 3 print() style. Note content update in news. Fix minor typo in README
1 parent e760ed8 commit c798b7c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ A quick guide to developing the website locally
1111
4. View the website locally
1212
5. Make changes to the source
1313
6. Refresh the browser page and the changes should be visible
14-
7. Once your happy with the changes create a pull request
14+
7. Once you're happy with the changes create a pull request
15+

index.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import org.python.util.PythonInterpreter;
1515
public class JythonHelloWorld {
1616
public static void main(String[] args) {
1717
try(PythonInterpreter pyInterp = new PythonInterpreter()) {
18-
pyInterp.exec("print 'Hello Python World!'");
18+
pyInterp.exec("print ('Hello Python World!')");
1919
}
2020
}
2121
}
@@ -29,4 +29,5 @@ Jython is embedded in lots of projects. See some from [MVNRepository](https://mv
2929
- [Apache PIG](https://pig.apache.org/) - Use Jython to support user defined functions.
3030
- [ImageJ](http://imagej.net) - Use Jython to provide scripted image processing.
3131
- [GDA](http://www.opengda.org/) - Use Jython to script scientific experiments.
32-
- [Robot Framework](http://robotframework.org/) - A generic test automation framework for acceptance testing and acceptance test-driven development (ATDD) which runs on Jython.
32+
- [Robot Framework](http://robotframework.org/) - A generic test automation framework for acceptance testing and acceptance test-driven development (ATDD) which runs on Jython.
33+

news.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ title: News
77
Welcome to the new Jython website. The main improvements are:
88
- Redesign to fit the modern web, e.g. mobile responsive
99
- Move hosting to [GitHub pages](https://pages.github.com/). To allow easier maintenance and encourage community contribution
10-
- Delivered over HTTPS.
10+
- Delivered over HTTPS
11+
- Content updated to reflect latest binary releases
1112

1213
### Jython 2.7.1 Final Released (July 2017)
1314

0 commit comments

Comments
 (0)