summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Benkstein <frank.benkstein@sap.com>2016-01-25 10:16:02 +0100
committerFrank Benkstein <frank.benkstein@sap.com>2016-01-25 10:16:02 +0100
commit343c10fb10824779bc00b6dfbc44183ef7aa0e1a (patch)
treeb480b3f8c7686d38fe576fd40366b72b0343158d
parentc1090b88c33c5f43419bb63ed14b9c40c08b0afa (diff)
downloadpsutil-343c10fb10824779bc00b6dfbc44183ef7aa0e1a.tar.gz
document Process.environ
-rw-r--r--docs/index.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst
index bff8d6ed..566b9996 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -693,6 +693,15 @@ Process class
The command line this process has been called with.
+ .. method:: environ()
+
+ The environment variables of the process as a dict. Note: this might not
+ reflect changes made after the process started.
+
+ Availability: Linux, OSX
+
+ .. versionchanged: 3.4.3: added
+
.. method:: create_time()
The process creation time as a floating point number expressed in seconds