Skip to content

Commit a842f5a

Browse files
[invalid-character-nul] Create initial documentation
Refs #5953
1 parent 3f93f1e commit a842f5a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
1+
There's no need to use end-of-string characters. String objects maintain their
2+
own length.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# This is a placeholder for correct code for this message.
1+
STRING = "Valid nul terminator: \x00"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- `Null terminator in python <https://stackoverflow.com/a/24410304/2519059>`_

0 commit comments

Comments
 (0)