From 293913568e6a7a86fd1479e1cff8e2ecb58d6568 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 15:44:03 +0200 Subject: Adding upstream version 16.2. Signed-off-by: Daniel Baumann --- doc/src/sgml/html/plpython-sharing.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/src/sgml/html/plpython-sharing.html (limited to 'doc/src/sgml/html/plpython-sharing.html') diff --git a/doc/src/sgml/html/plpython-sharing.html b/doc/src/sgml/html/plpython-sharing.html new file mode 100644 index 0000000..8153fab --- /dev/null +++ b/doc/src/sgml/html/plpython-sharing.html @@ -0,0 +1,14 @@ + +46.3. Sharing Data

46.3. Sharing Data #

+ The global dictionary SD is available to store + private data between repeated calls to the same function. + The global dictionary GD is public data, + that is available to all Python functions within a session; use with + care. +

+ Each function gets its own execution environment in the + Python interpreter, so that global data and function arguments from + myfunc are not available to + myfunc2. The exception is the data in the + GD dictionary, as mentioned above. +

\ No newline at end of file -- cgit v1.2.3