<commit_before>Embed CPython Script
-------------

@embed
```python

class A():
	def pymethod(self):
		print 'hello world'

def foo():
	print 'foo'
	return A()

```

Build Options
-------------
* @link:python2.7
* @include:/usr/include/python2.7
```rusthon
#backend:c++
import Python.h
import cpython

def main():
	cpython.initalize()
	a = cpython.foo()
	print a
	cpython.finalize()

```<commit_msg>cpython: hello world, call function and method by hand in example, directly using CPython CAPI.<commit_after>Embed CPython Script
-------------

@embed
```python

class A():
	def pymethod(self):
		print 'hello world'

def foo():
	print 'foo'
	return A()

```

Build Options
-------------
* @link:python2.7
* @include:/usr/include/python2.7
```rusthon
#backend:c++
import Python.h
import cpython

def main():
	cpython.initalize()
	pyfoo = cpython.foo()
	a = PyObject_Call(pyfoo, inline('Py_BuildValue("()")'), None)
	pymeth = PyObject_GetAttrString(a, cstr("pymethod"));
	PyObject_Call(pymeth, inline('Py_BuildValue("()")'), None)
	print a

	cpython.finalize()

```
{'fraction_non_alphanumeric': 0.2013170272812794, 'fraction_numerical': 0.007525870178739417, 'mean_word_length': 3.8807339449541285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6311854', 'n_tokens_mistral': 399, 'n_tokens_neox': 385, 'n_words': 96}