Skip to content

Commit 77d1c1a

Browse files
Added copyright
1 parent 1fa6870 commit 77d1c1a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

peps/pep-0795.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ careful design considerations.
21832183

21842184

21852185
Equality of immutable objects
2186-
-------------------------------
2186+
-----------------------------
21872187

21882188
One consideration with the naive approach (i.e., hash via id()) is that
21892189
it can result in confusing outcomes. For example, if there were to be
@@ -2203,7 +2203,7 @@ recommended in order to avoid this behavior.
22032203

22042204

22052205
Types
2206-
======
2206+
=====
22072207

22082208
Support for immutability in the type system is worth exploring in the
22092209
future.
@@ -2230,7 +2230,7 @@ consider for the future in conjunction with work on typing immutability.
22302230

22312231

22322232
Data-race free Python
2233-
======================
2233+
=====================
22342234

22352235
This PEP adds support for immutable objects to Python and importantly
22362236
permits sub-interpreters to directly share *immutable* objects. As a
@@ -2287,7 +2287,7 @@ do not at this moment provide the decorators (*e.g.*, ``@frozen``) at present, t
22872287
they are trivial to implement using the existing tools and functionality.
22882288

22892289
Open questions to resolve before publishing
2290-
############################################
2290+
###########################################
22912291

22922292
- Do we cover C extensions enough?
22932293
- Do we need a separate discussion about backwards compatibility?
@@ -2298,6 +2298,12 @@ Open questions to resolve before publishing
22982298
- Need an example that shows sharing across sub-interpreters
22992299

23002300
Feedback to address
2301-
====================
2301+
===================
23022302
- Use tp_traverse to traverse, or add a new type operation that
23032303
is required for freezable types?
2304+
2305+
2306+
Copyright
2307+
#########
2308+
2309+
This document has been placed in the public domain.

0 commit comments

Comments
 (0)