MCPcopy Create free account
hub / github.com/ipython/ipython / pyfunc

Function pyfunc

IPython/testing/plugin/simple.py:7–24  ·  view source on GitHub ↗

Some pure python tests... >>> pyfunc() 'pyfunc' >>> import os >>> 2+3 5 >>> for i in range(3): ... print(i, end=' ') ... print(i+1, end=' ') ... 0 1 1 2 2 3

()

Source from the content-addressed store, hash-verified

5"""
6
7def pyfunc():
8 """Some pure python tests...
9
10 >>> pyfunc()
11 'pyfunc'
12
13 >>> import os
14
15 >>> 2+3
16 5
17
18 >>> for i in range(3):
19 ... print(i, end=' ')
20 ... print(i+1, end=' ')
21 ...
22 0 1 1 2 2 3
23 """
24 return 'pyfunc'
25
26
27def ipyfunc2():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected