From 9317724a5ba3ff2b6a8ea15eb34a1e3628828c41 Mon Sep 17 00:00:00 2001 From: yardasol Date: Thu, 28 Jul 2022 16:03:42 -0500 Subject: [PATCH] fix examples formatting --- openmc/material.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openmc/material.py b/openmc/material.py index 1463c7fa1a..8fee0585c9 100644 --- a/openmc/material.py +++ b/openmc/material.py @@ -414,11 +414,11 @@ class Material(IDManagerMixin): Examples -------- - >> mat = openmc.Material() - >> components = {'Li': (1.0, {'enrichment': 60.0, 'enrichment_target': 'Li7'}), - 'Fl': 1.0, - 'Be6': (0.5, 'wo')} - >> mat.add_elements_or_nuclides(components) + >>> mat = openmc.Material() + >>> components = {'Li': (1.0, {'enrichment': 60.0, 'enrichment_target': 'Li7'}), + >>> 'Fl': 1.0, + >>> 'Be6': (0.5, 'wo')} + >>> mat.add_elements_or_nuclides(components) """