diff options
author | Aaron Ecay <aaronecay@gmail.com> | 2015-01-22 01:55:23 -0500 |
---|---|---|
committer | Aaron Ecay <aaronecay@gmail.com> | 2015-01-22 01:55:23 -0500 |
commit | a0095ce1a73f5805a5f48fedb5e314aa586f75ff (patch) | |
tree | 4304546d0aca50cfc7271887062880072226dd9d | |
parent | 9f75cea40d6d4e0344c10e6538d0fcf5f3f0a476 (diff) | |
download | org-mode-a0095ce1a73f5805a5f48fedb5e314aa586f75ff.tar.gz |
ob-python: Convert two defvars to defconsts.
* lisp/ob-python.el (org-babel-python-wrapper-method):
(org-babel-python-pp-wrapper-method): Convert from defvar to defconst.
-rw-r--r-- | lisp/ob-python.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-python.el b/lisp/ob-python.el index 5a6a3ae..b1285d2 100644 --- a/lisp/ob-python.el +++ b/lisp/ob-python.el @@ -224,13 +224,13 @@ then create. Return the initialized session." (defvar org-babel-python-eoe-indicator "'org_babel_python_eoe'" "A string to indicate that evaluation has completed.") -(defvar org-babel-python-wrapper-method +(defconst org-babel-python-wrapper-method " def main(): %s open('%s', 'w').write( str(main()) )") -(defvar org-babel-python-pp-wrapper-method +(defconst org-babel-python-pp-wrapper-method " import pprint def main(): |