Skip to content

Commit 2ab0c0c

Browse files
committed
2 parents 6baf45f + 853b59e commit 2ab0c0c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ If you modified environment variables (for Windows or Linux) restart your InterS
1919

2020
# Use
2121

22-
1. Call: `do ##class(isc.py.Callout).Setup()` once per systems start (add to ZSTART!)
23-
2. Call: `do ##class(isc.py.Callout).Initialize()` once per process
24-
3. Call main method (can be called many times, context persists): `write ##class(isc.py.Callout).SimpleString(code, data)`
25-
4. Call: `do ##class(isc.py.Callout).Finalize()` to free Python context
26-
5. Call: `write ##class(isc.py.Callout).Unload()` to free callout library
22+
1. Call: `do ##class(isc.py.Callout).Setup()` once per systems start (add to ZSTART: [docs](https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GSTU_customize#GSTU_customize_startstop), [sample](https://gist.githubusercontent.com/eduard93/412ed81e2bf619269ab4a49d939d2304/raw/c9d5f922827db5052b6e1195616d333ffe7dc1ec/%2525ZSTART)).
23+
2. Call main method (can be called many times, context persists): `write ##class(isc.py.Callout).SimpleString(code, data)`
24+
3. Call: `do ##class(isc.py.Callout).Finalize()` to free Python context.
25+
4. Call: `write ##class(isc.py.Callout).Unload()` to free callout library.
2726

2827
```
2928
do ##class(isc.py.Callout).Setup()
30-
do ##class(isc.py.Callout).Initialize()
3129
write ##class(isc.py.Callout).SimpleString("x='ПРИВЕТ'","x")
3230
write ##class(isc.py.Callout).SimpleString("x=repr('ПРИВЕТ')","x")
3331
write ##class(isc.py.Callout).SimpleString("x=123","x")

0 commit comments

Comments
 (0)