This repository was archived by the owner on Jul 22, 2023. It is now read-only.
forked from pythonnet/pythonnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintern_.cs
More file actions
48 lines (45 loc) · 1.31 KB
/
intern_.cs
File metadata and controls
48 lines (45 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
namespace Python.Runtime
{
static class PyIdentifier
{
public static IntPtr __name__;
public static IntPtr __dict__;
public static IntPtr __doc__;
public static IntPtr __class__;
public static IntPtr __module__;
public static IntPtr __file__;
public static IntPtr __slots__;
public static IntPtr __self__;
public static IntPtr __annotations__;
public static IntPtr __init__;
public static IntPtr __repr__;
public static IntPtr __import__;
public static IntPtr __builtins__;
public static IntPtr builtins;
public static IntPtr __overloads__;
public static IntPtr Overloads;
}
static partial class InternString
{
private static readonly string[] _builtinNames = new string[]
{
"__name__",
"__dict__",
"__doc__",
"__class__",
"__module__",
"__file__",
"__slots__",
"__self__",
"__annotations__",
"__init__",
"__repr__",
"__import__",
"__builtins__",
"builtins",
"__overloads__",
"Overloads",
};
}
}