Skip to content

Commit

Permalink
[invalid-character-nul] Create initial documentation
Browse files Browse the repository at this point in the history
Refs #5953
  • Loading branch information
Pierre-Sassoulas committed Sep 17, 2023
1 parent 3f93f1e commit a842f5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/data/messages/i/invalid-character-nul/details.rst
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
You can help us make the doc better `by contributing <https://github.com/pylint-dev/pylint/issues/5953>`_ !
There's no need to use end-of-string characters. String objects maintain their
own length.
2 changes: 1 addition & 1 deletion doc/data/messages/i/invalid-character-nul/good.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# This is a placeholder for correct code for this message.
STRING = "Valid nul terminator: \x00"
1 change: 1 addition & 0 deletions doc/data/messages/i/invalid-character-nul/related.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- `Null terminator in python <https://stackoverflow.com/a/24410304/2519059>`_

0 comments on commit a842f5a

Please sign in to comment.