Skip to content

Commit 480894d

Browse files
committed
Followed Tim F. recommendation
1 parent 3772a3c commit 480894d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

doc/IMPLEMENTATION_DETAILS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Python Global Thread State
1+
# Implementation Details
2+
3+
## Python Global Thread State
24

35
In CPython, each stack frame is allocated on the heap, and there's a global
46
thread state holding on to the chain of currently handled exceptions (e.g. if

doc/JYTHON.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@ speculative imports in the standard library), we ask the Java classloader to
4444
list currently available packages and traverse them to check if we should create
4545
a Java package. This slows down startup significantly.
4646

47-
### Interacting with Java Objects
47+
## Interacting with Java Objects
4848

4949
Once you get hold of a Java object or class, interaction in both modes works
5050
naturally. Public fields and methods can be read and invoked as expected.
5151

52-
### Subclassing Java classes and Implementing Interfaces with Python Classes
52+
## Subclassing Java Classes and Implementing Interfaces with Python Classes
5353

5454
This is not supported at all right now, there's no emulation available even in
5555
Jython compatibility mode. We have not seen many uses of this in the wild. Let
5656
us know if this is of interest to you!
5757

58-
### Catching Java exceptions
58+
## Catching Java exceptions
5959

6060
By default this is not allowed, because of the additional cost of checking for
6161
Java exceptions in the except statement execution. However, in Jython

0 commit comments

Comments
 (0)