Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
eirannejad committed Oct 10, 2024
1 parent 998555c commit e683f85
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/runtime/McNeel.PythonEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1022,19 +1022,6 @@ object MarshOutput(object value, MarshContext context)
case object[] array:
return array.Select(i => MarshOutput(i, context)).ToArray();

case PyList list:
context.Push(list);

var fromPylist = new List<object>();
foreach (object obj in list)
{
fromPylist.Add(MarshOutput(obj, context));
}

context.Pop();

return fromPylist;

case List<object> list:
return MarshOutputList(list, context);

Expand Down

0 comments on commit e683f85

Please sign in to comment.