forked from IronLanguages/ironpython3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_string.cs
More file actions
20 lines (15 loc) · 754 Bytes
/
_string.cs
File metadata and controls
20 lines (15 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Collections.Generic;
using IronPython.Runtime;
[assembly: PythonModule("_string", typeof(IronPython.Modules.PythonString))]
namespace IronPython.Modules {
public static class PythonString {
public static IEnumerable<PythonTuple>/*!*/ formatter_parser([NotNone] string/*!*/ self)
=> NewStringFormatter.GetFormatInfo(self);
public static PythonTuple/*!*/ formatter_field_name_split([NotNone] string/*!*/ self)
=> NewStringFormatter.GetFieldNameInfo(self);
}
}