Skip to content

added examples and py utils #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Feb 12, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
golden test output no longer platform specific
  • Loading branch information
Drew O'Meara committed Feb 12, 2022
commit 16ebe644e5d6f2caaebc1503f747037045e44d3c
4 changes: 1 addition & 3 deletions examples/embedding/lib/mylib.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
import mylib_go as _go

PY_VERSION = _go.PY_VERSION
GO_VERSION = _go.GO_VERSION


print('''
==========================================================
%s
%s
==========================================================
''' % (PY_VERSION, GO_VERSION))
''' % (PY_VERSION))


def Stop(location, num_nights = 2):
Expand Down
1 change: 0 additions & 1 deletion examples/embedding/testdata/embedding_out_golden.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Welcome to a gpython embedded example,

==========================================================
Python 3.4 (github.com/go-python/gpython)
go1.17.6 on darwin amd64
==========================================================

Spring Break itinerary:
Expand Down