Merge branch 'python-wrapper-doc' of github.com:lammps/lammps into python-wrapper-doc
This commit is contained in:
@ -1223,7 +1223,7 @@ input script:
|
|||||||
.. code-block:: LAMMPS
|
.. code-block:: LAMMPS
|
||||||
|
|
||||||
variable foo python truncate
|
variable foo python truncate
|
||||||
python truncate return v_foo input 1 iv_arg format fi here """
|
python truncate return v_foo input 1 v_arg format fi here """
|
||||||
def truncate(x):
|
def truncate(x):
|
||||||
return int(x)
|
return int(x)
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user