Skip to content

Commit

Permalink
remove empty method _AbstractLayout.rename()
Browse files Browse the repository at this point in the history
  • Loading branch information
mozman committed Oct 25, 2024
1 parent 4b9220b commit c25abfa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions notes/pages/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- CHANGE: load `ODAFC` path dynamically from options
- CHANGE: load `OpenSCAD` path dynamically from options
- CHANGE: `BlocksSection.delete_block()` will not delete layout blocks in safe mode.
- REMOVE: `_AbstractLayout.rename()`, unused method without implementation nor documentation
- NEW: `Auditor` checks if modelspace and active paperspace exists
- ## Version 1.3.4 - 2024-10-15
id:: 66d2bce8-c48a-461d-8e5b-534fe26d1f5b
Expand Down
3 changes: 0 additions & 3 deletions src/ezdxf/layouts/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ def entitydb(self) -> EntityDB:
"""Returns drawing entity database. (internal API)"""
return self.doc.entitydb

def rename(self, name) -> None:
pass

def __len__(self) -> int:
"""Returns count of entities owned by the layout."""
return len(self.entity_space)
Expand Down

0 comments on commit c25abfa

Please sign in to comment.