solsticegamestudios / vdf

📜 Package for working with Valve's text and binary KeyValue format
https://pypi.org/project/vdf/
MIT License
8 stars 1 forks source link

Update __init__.py - use of None in mapper parameter #4

Closed pickworthi closed 1 month ago

pickworthi commented 1 month ago

When a caller passes a value of None for the mapper parameter, a TypeException is raised. Usage of None by a caller to signify no value given is quite common, so this makes the calls a bit more robust.

pickworthi commented 1 month ago

In response to: https://github.com/solsticegamestudios/vdf/issues/3

github-actions[bot] commented 1 month ago

Pull Request Test Coverage Report for Build 11128821342

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 10843354555: 0.01%
Covered Lines: 431
Relevant Lines: 441

💛 - Coveralls