8000 Update · pytorch/pytorch@68d1812 · GitHub
[go: up one dir, main page]

Skip to content

Commit 68d1812

Browse files
committed
Update
[ghstack-poisoned]
1 parent 53b9ba4 commit 68d1812

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

torch/fx/graph.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,8 @@ def gen_fn_def(self, free_vars, maybe_return_annotation):
850850
if len(free_vars) > 0: # pytree has placeholders in it
851851

852852
class StrReprNoQuotes(str):
853+
__slots__ = ()
854+
853855
def __repr__(self) -> str:
854856
return self
855857

0 commit comments

Comments
 (0)
0