mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-29 19:50:25 -07:00
[PR #9442/ec585392 backport][stable-10] Docs: fix its vs. it's (#9458)
Docs: fix its vs. it's (#9442)
* Fix its vs. it's.
* Improvements from review.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Improve formulations.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
(cherry picked from commit ec585392e5
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
60d51f7b49
commit
98a956a9d6
60 changed files with 88 additions and 88 deletions
|
@ -424,7 +424,7 @@ def remove_null_values(data):
|
|||
# Recursively remove null values from lists
|
||||
return [remove_null_values(item) for item in data if item is not None]
|
||||
else:
|
||||
# Return the data if it's neither a dictionary nor a list
|
||||
# Return the data if it is neither a dictionary nor a list
|
||||
return data
|
||||
|
||||
|
||||
|
@ -436,7 +436,7 @@ def camel_recursive(data):
|
|||
# Apply camelCase conversion to each item in the list
|
||||
return [camel_recursive(item) for item in data]
|
||||
else:
|
||||
# Return the data as is if it's not a dict or list
|
||||
# Return the data as-is if it is not a dict or list
|
||||
return data
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue