Skip to content

cleanup: stray ) token in module docstring is copy-paste damage #1782

@bluetoothbot

Description

@bluetoothbot

Problem

The module docstring opens with """Multicast DNS Service Discovery for Python, v0.14-wmcbrine and the very next line is ) — a stray closing paren that belongs to nothing. It's clearly a copy-paste artifact from another file (the same header otherwise appears verbatim in every module in src/zeroconf/). It's syntactically harmless because it's inside a docstring, but it shows up in help(zeroconf._logger), in any auto-generated API docs, and in IDE hover-tooltips for the module.

Why This Matters

Pure cosmetic, but it's the first thing a reader sees when opening the file, and it makes the project look careless in generated docs. Trivial to fix and no risk.

Suggested Fix

Delete line 2 (the )). The remaining docstring matches the standard header used by sibling modules.

Details

Severity 🟢 Low
Category cleanup
Location src/zeroconf/_logger.py:1-2
Effort ⚡ Quick fix

🤖 Created by Kōan from audit session

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions