Skip to content

Commit 9f153cc

Browse files
committed
fix polyglot.__doc__
1 parent 7b8442e commit 9f153cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/PolyglotModuleBuiltins.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* The Universal Permissive License (UPL), Version 1.0
@@ -132,7 +132,7 @@ public void initialize(Python3Core core) {
132132
TruffleFile coreDir = env.getInternalTruffleFile(coreHome.toJavaStringUncached());
133133
TruffleFile docDir = coreDir.resolveSibling("docs");
134134
if (docDir.exists() || docDir.getParent() != null && (docDir = coreDir.getParent().resolveSibling("docs")).exists()) {
135-
addBuiltinConstant(SpecialAttributeNames.T___DOC__, new String(docDir.resolve("user").resolve("POLYGLOT.md").readAllBytes()));
135+
addBuiltinConstant(SpecialAttributeNames.T___DOC__, new String(docDir.resolve("user").resolve("Interoperability.md").readAllBytes()));
136136
}
137137
} catch (SecurityException | IOException e) {
138138
}

0 commit comments

Comments
 (0)